permix
Permix
Permix is a lightweight, framework-agnostic, type-safe permissions management library for JavaScript applications on the client and server sides.
Documentation
You can find the documentation here.
Example
To quick start you only need to write the following code:
import { createPermix } from 'permix'
const permix = createPermix<{
post: ['read']
}>()
permix.setup({
post: {
read: true,
},
})
permix.check('post.read') // true
Permix has other powerful features, so here's check out the docs or the examples directory.
Agent skills
Permix ships versioned agent skills inside the npm package. Install permix, then copy the skill folders you want out of node_modules/permix/skills/ into your agent config directory. They update when you update the package.
License
MIT License - see the LICENSE file for details
Related Packages
A unified permission system for Vue 3 and Nuxt 3 / Nuxt 4 with directives, guard...
A lightweight carousel library with fluid motion and great swipe precision
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 4.4.0 | >=3 | MIT | |
| 4.3.0 | >=3 | MIT | |
| 4.2.0 | >=3 | MIT | |
| 4.1.2 | >=3 | MIT | |
| 4.1.1 | >=3 | MIT | |
| 4.1.0 | >=3 | MIT | |
| 4.0.1 | >=3 | MIT | |
| 4.0.0 | >=3 | MIT | |
| 3.8.1 | >=3 | MIT | |
| 3.8.0 | >=3 | MIT | |
| 3.7.0 | >=3 | MIT | |
| 3.6.0 | >=3 | MIT | |
| 3.5.2 | >=3 | MIT | |
| 3.5.1 | >=3 | MIT | |
| 3.5.0 | >=3 | MIT | |
| 3.4.1 | >=3 | MIT | |
| 3.4.0 | >=3 | MIT | |
| 3.3.0 | >=3 | MIT | |
| 3.2.1 | >=3 | MIT | |
| 3.2.0 | >=3 | MIT | |
| 3.1.0 | >=3 | MIT | |
| 3.0.0 | >=3 | MIT | |
| 2.1.5 | >=3 | MIT | |
| 2.1.4 | >=3 | MIT | |
| 2.1.3 | >=3 | MIT | |
| 2.1.2 | >=3 | MIT | |
| 2.1.1 | >=3 | MIT | |
| 2.1.0 | >=3 | MIT | |
| 2.0.0 | >=3 | MIT | |
| 1.0.4 | >=3 | MIT |
Showing the latest 30 of 56. See every release on npm
Pre-releases (19)
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.0-rc.13 | >=3 | MIT | |
| 2.0.0-rc.12 | >=3 | MIT | |
| 2.0.0-rc.11 | >=3 | MIT | |
| 2.0.0-rc.10 | >=3 | MIT | |
| 2.0.0-rc.9 | >=3 | MIT | |
| 2.0.0-rc.8 | >=3 | MIT | |
| 2.0.0-rc.7 | >=3 | MIT | |
| 2.0.0-rc.6 | >=3 | MIT | |
| 2.0.0-rc.5 | >=3 | MIT | |
| 2.0.0-rc.4 | >=3 | MIT | |
| 2.0.0-rc.3 | >=3 | MIT | |
| 2.0.0-rc.2 | >=3 | MIT | |
| 2.0.0-rc.1 | >=3 | MIT | |
| 2.0.0-beta.1 | >=3 | MIT | |
| 1.0.0-rc.2 | >=3 | MIT | |
| 1.0.0-rc.1 | >=3 | MIT | |
| 0.7.2-beta.2 | >=3 | MIT | |
| 0.7.2-beta.1 | >=3 | MIT | |
| 0.0.1-alpha.1 |