New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crab-rbac

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crab-rbac - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "crab-rbac",
"version": "0.0.1",
"version": "0.0.2",
"description": "A Hierarchical Role Based Access library. Role, not Rule!",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -6,9 +6,22 @@ # crab-rbac

Install the package
`npm i crab-rbac --save`
You can use the library with require
`const {rbac} = require('crab-rbac')`
or import it if you are using TypeScript
`import {rbac} from 'crab-rbac'`
## Testing
To run the tests using `npm test` is necessary to install `npm i -g ts-node`. I highly suggest to install something like `faucet` (`npm i -g faucet`) and then pipe the output of npm test into it, in order to get an even more readable output. So the command is `npm test | faucet`.
To run the tests using
`npm test`
is necessary to install
`npm i -g ts-node`
I highly suggest to install something like `faucet` (`npm i -g faucet`) and then pipe the output of npm test into it, in order to get an even more readable output. So the command is `npm test | faucet`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc