sfpm-js
Version:
A lightweight, dependency-free, forward-chaining inference engine for managing complex state and logic in a declarative way.
10 lines (8 loc) • 484 B
JavaScript
// index.js
// This file serves as the main entry point for the sfpm-js package.
// It exports all the core classes, providing a clean public API for users.
export { Rule } from './src/Rule.js';
export { Criteria, Operator, OperatorSymbols } from './src/Criteria.js';
export { Query } from './src/Query.js';
export { FactSource, DictionaryFactSource } from './src/FactSource.js';
export { match, orderBySpecificity, mostSpecificRule, leastSpecificRule } from './src/RuleMatcher.js';