permix

Permix is a lightweight, framework-agnostic, type-safe permissions management library for JavaScript applications on the client and server sides.
385,566 640
Install
npm install permix
Latest Version:4.4.0
Vue:3
License:MIT
Last Updated:Oct 15, 2026
Links: GitHub  ·  npm
Maintainer: letstri

Permix

npm version You need 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

com-angel-authorization

Framework-agnostic user permission toolkit for React and Vue

7,496
vue-nuxt-permission

A unified permission system for Vue 3 and Nuxt 3 / Nuxt 4 with directives, guard...

2,570 0
denji

A CLI tool to manage your SVG icons

1,815 6
embla-carousel

A lightweight carousel library with fluid motion and great swipe precision

1,138,077,498 8,453

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
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