0.4.7 • Published 12 months ago

@eturino/claims v0.4.7

Weekly downloads
16
License
MIT
Repository
github
Last release
12 months ago

Claims (typescript)

npm version Maintainability Test Coverage

TypeDoc generated docs in here

Github repo here

Library to encapsulate Claims ("verb:resource") as well as ClaimSet (set of Claims) and Ability (permitted ClaimSet + prohibited ClaimSet).

TBD

(TypeScript port of https://github.com/eturino/claims)

Library bootstrapped using typescript-starter.

Installation

yarn add @eturino/claims or npm install @eturino/claims.

Usage

Allowed verbs: "admin", "read", "delete", "create", "update", "manage".

see the type docs for now

instantiating the object using the buildClaim(), buildClaimSet() and buildAbility() functions is recommended

Collaborators

0.4.5

1 year ago

0.4.4

1 year ago

0.4.7

12 months ago

0.4.6

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.3.0

4 years ago

0.1.10

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago