1.0.1 • Published 2 years ago

js-auto-configuration-for-rule-management v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

js-auto-configuration-for-rule-management

What is the purpose of this project?

the purpose is to have a way to write Rules to add to a Rule Manager

How do I use this project?

  1. Create a rule.config.json at the root directory
  2. Add a json with a rulePaths property
    1. This can be a String or Array of Strings
    2. The string must be formatted like Glob
      1. Example - "**/rules"
    3. The string will have "../" prefixed to the path for the require()
    4. The string will have "/*.js" suffixed to the path for the require()
  3. create a new AutoConfiguration
  4. run the AutoConfiguration.generateRuleManager to get a Rule Manager
1.0.1

2 years ago

1.0.0

2 years ago