Skip to content

Commit cf5d235

Browse files
authored
Feature/next 3.0.1 (#65)
* docs(added package features): dded package features dded package features * docs(updated todo): todo update * docs(license for assets): lICENSE for assets * feat(method chaining): method chaining * feat: update Author details
1 parent 3b4f7b8 commit cf5d235

File tree

7 files changed

+165
-820
lines changed

7 files changed

+165
-820
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Arunkumarcs
3+
Copyright (c) 2025 Arunkumar H <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

LICENSE.assets

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)
2+
3+
This license applies to all non-code assets in this project, including but not limited to:
4+
- Images, diagrams, and illustrations in the `/assets` directory
5+
- Documentation in the `/docs` directory
6+
7+
You are free to:
8+
- Share — copy and redistribute the material in any medium or format
9+
- Adapt — remix, transform, and build upon the material for any purpose, even commercially
10+
11+
Under the following terms:
12+
- Attribution — You must give appropriate credit and indicate if changes were made
13+
- ShareAlike — If you remix or transform, you must license your contributions under the same license
14+
15+
Full License: https://creativecommons.org/licenses/by-sa/4.0/

TODO

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,48 @@
1+
☐ https://fossa.com/ | https://app.fossa.com/projects
2+
☐ https://opensource.org/
3+
☐ https://snyk.io/
4+
5+
6+
☐ 🚀 Advanced Feature Ideas
7+
☐ Rule Grouping & Namespacing
8+
☐ Group rules under namespaces (e.g., "billing.*", "access-control.admin")
9+
☐ Enable/disable entire groups
10+
☐ Useful for toggling feature-specific logic
11+
☐ Rule Inheritance & Composition
12+
☐ Let rules extend other rules with overrides
13+
☐ Rule Versioning
14+
☐ Allow versioned rules (v1, v2, etc.)
15+
☐ Useful in production environments for A/B testing and audits
16+
17+
☐ 🧩 Extensibility & Dev Experience
18+
☐ Plugin System
19+
☐ Register lifecycle hooks or custom DSLs
20+
☐ Example use case: auto-load rules from DB, encrypt sensitive facts, etc.
21+
☐ Built-in Rule Validators
22+
☐ Validate for:
23+
☐ Missing facts
24+
☐ Circular dependencies
25+
☐ Invalid operators
26+
☐ Could throw or warn in dev mode
27+
☐ Rule Engine as Middleware
28+
☐ Express / Fastify middleware:
29+
☐ app.use(ruleEngine.middleware({ rules }))
30+
☐ Great for access control, rate limits, etc.
31+
32+
☐ Rule Store Modules
33+
☐ Plugins for loading rules from:
34+
☐ Filesystem
35+
☐ Redis / MongoDB
36+
☐ HTTP APIs
37+
☐ Visual Rule Editor
38+
☐ UI tool to edit rule conditions
39+
☐ Could export as JSON/TS
40+
☐ Could integrate with Docusaurus site you're working on
41+
142
✔ Add support for `https://www.npmjs.com/package/jsonpath-plus` @done(25-04-14 16:41)
243
✔ commitizen @done(25-04-19 08:48)
3-
☐ Add support for `https://www.npmjs.com/package/hash-it`
4-
5-
☐ Badges
44+
✘ Add support for `https://www.npmjs.com/package/hash-it` @cancelled(25-04-21 08:52)
45+
✔ Badges @done(25-04-21 08:59)
646
- https://badge.fury.io/for/js/json-rules-engine
747
- https://packagephobia.com/result?p=json-rules-engine
848
✔ https://shields.io/docs @done(25-04-14 16:43)

0 commit comments

Comments
 (0)