Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 3.22 KB

README.md

File metadata and controls

49 lines (29 loc) · 3.22 KB

CanIt

Enhance your experience in implementing the authorization in your javascript/typescript projects.

Overview

Examples

👉 Source code

Core Packages

  • @can-it/core: This is the core package that forms the foundation of CanIt. npm version

Operator Packages and Documentation

These packages can be used along with the @can/it-core package or its utilization packages mentioned below.

  • @can-it/operators-relation: Provides a relational matching comparator and its generator. npm version

    For example, your system can allow the edit action to perform the view action. Accessing settings can also grant access to payments and profiles.

  • @can-it/operators-nested: Enables a nested structure matching comparator. npm version

    For example, your system can allow access to all members in any organization by defining the value as organizations::*::members. Accessing members of organization A will have the value organizations::A::members.

  • @can-it/operators-exact: Provides an exact matching comparator in a case-sensitive manner. npm version

Utilization Packages

  • @can-it/ngx: Integration package for Angular applications. npm version

  • @can-it/react: Integration package for React applications. npm version

  • @can-it/nest: Integration package for Nestjs applications. npm version

  • @can-it/express: Integration package for Express applications.

  • @can-it/fastify: Integration package for Fastify applications. (💪 Coming soon ⏰)

For other purposes or usage with different JavaScript/TypeScript frameworks, you can directly use the @can-it/core package and comparator packages above.

Full Documentation (coming soon) 🚀🚀🚀

📚 More detailed documentation, including usage guides, examples, and advanced features, is currently in progress. We appreciate your patience and encourage you to check back soon for a comprehensive resource to help you make the most out of CanIt. Stay tuned!