js-auto-configuration-for-rule-management

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i js-auto-configuration-for-rule-management

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

38.4 kB

Total Files

5

Last publish

Collaborators

  • megamanjoker