Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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.

Cursor skills

Copy skills/ into your app’s .cursor/skills/ so AI assistants follow Permix patterns (setup, check, React, server middleware, SSR).

License

MIT License - see the LICENSE file for details

关于 About

🔒 Permix is a lightweight, framework-agnostic, type-safe permissions management library for TypeScript applications on the client and server sides.
permissionssecuritytype-safetypescript

语言 Languages

TypeScript97.9%
Svelte2.0%
JavaScript0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
136
Total Commits
峰值: 43次/周
Less
More

核心贡献者 Contributors