Skip to content
ankhoragePublic

About

Domain-agnostic rule engine and JSON configuration for Ankhorage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ankhorage/rules

license: MIT npm: v0.2.2 runtime: bun typescript: strict eslint: checked prettier: checked build: checked tests: checked paradox: canonical

Domain-agnostic rule engine and JSON configuration for Ankhorage.

Usage

CLI

Ankhorage packages expose their command-line interface through ankh. Use ankh --help to discover available package commands, or run a package command with --help for package-specific usage.

# Install the Ankhorage CLI
bun add --global @ankhorage/ankh

# Show usage information for rules
ankh rules --help

Validate Rules Configuration

Validate a repository rules.json file through the public generic Rules API.

import { readRulesConfigAsync } from '@ankhorage/rules';

Configuration

Example

import { defineParadoxConfig } from '@ankhorage/paradox';

export default defineParadoxConfig({
  mode: 'write',
  docs: {
    title: '@ankhorage/rules',
    description: 'Domain-agnostic rule engine and JSON configuration for Ankhorage.',
  },
  package: {
    root: '.',
    entrypoints: ['src/index.ts'],
  },
  output: { dir: './paradox' },
});

Generated documentation

About

Domain-agnostic rule engine and JSON configuration for Ankhorage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages