warrant-express-middleware
iamjs
warrant-express-middleware | iamjs | |
---|---|---|
1 | 4 | |
3 | 21 | |
- | - | |
2.8 | 8.5 | |
about 1 month ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
warrant-express-middleware
-
How can I make an "isAdmin" verification middleware?
JWT-based flags/attributes work well to track a small number of roles/attributes but if you need anything more fine-grained, you're likely better off storing these attributes server-side in a separate service and checking them at runtime. Warrant is one such service that also provides server-side middleware to check permissions/authz: https://github.com/warrant-dev/warrant-express-middleware
iamjs
-
The TypeScript Access Control Library for Unmatched Typesafety
"iamjs" - the game-changing TypeScript Access Control Library is here!
Tired of authorization headaches? Look no further! iamjs is the complete solution you've been waiting for. With its unparalleled typesafety and end-to-end functionality, iamjs makes authorization a breeze for both Node.js and browser environments.
Featuring support for popular frameworks like express, koa, next.js, and react, iamjs is versatile and adaptable to your project's needs. Choose from a range of packages:
@iamjs/express - Express middleware that simplifies authorization workflows @iamjs/koa - Koa middleware for seamless authorization integration @iamjs/next - Next.js middleware for effortless authorization management @iamjs/react - React component for hassle-free authorization implementation
And that's not all! For maximum flexibility, you can also opt for the @iamjs/core package, which contains all the necessary logic and can be seamlessly integrated with any framework of your choice.
Don't waste time on complex authorization setups anymore. Join the iamjs revolution now and experience the power of typesafety combined with effortless authorization management!
Check out iamjs on GitHub: https://github.com/triyanox/iamjs
- Iamjs a complete access control library for Node.js and the browser
-
Dead simple Access Control with iamjs
To learn more about iamjs, check out the official documentation here. And if you're interested in contributing to the project, head over to the repository on GitHub.
What are some alternatives?
warrant-demo-app-ts - Example demonstrating how to add end-to-end authorization & access control to an ExpressJS + React app using Warrant
asciified - A simple ASCII Art API with a good-looking Web App.
ngx-permissions - Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
vue-simple-acl - A simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).
hackernews-react-graphql - Hacker News clone rewritten with universal JavaScript, using React and GraphQL.