quick-guard-ui
v1.0.1
Published
A lightweight and type-safe Role-Based Access Control (RBAC) library for React and Next.js.
Readme
Quick-Guard-UI
The fastest way to implement Role-Based Access Control (RBAC) in your React & Next.js applications.
quick-guard-ui เป็น Library ขนาดเล็กที่ช่วยจัดการสิทธิ์การเข้าถึง Component (RBAC) ได้อย่างง่ายดาย รองรับทั้ง Client-side rendering และมี Type-safe ที่แข็งแกร่งสำหรับ TypeScript
Features
- Lightweight: ขนาดเล็กมาก ไม่มี Dependencies หนักๆ
- Flexible: ใช้ได้ทั้งแบบ Wrapper Component หรือ Hooks
- Type-safe: เขียนด้วย TypeScript 100%
- Next.js Ready: รองรับการทำงานร่วมกับ Next.js (App Router) และเครื่องมือ Auth ยอดนิยม
Installation
npm install quick-guard-ui
# หรือ
yarn add quick-guard-ui