Options
All
  • Public
  • Public/Protected
  • All
Menu

Lucifer

ABAC made easy.

Travis (.com) Coveralls github styled with prettier Greenkeeper badge Dev Dependencies

Usage

# Run npm install
npm install @kunalvarma05/lucifer

Features

  • TODO

Importing library

You can import the generated bundle to use the whole library generated by this starter:

import lucifer from '@kunalvarma05/lucifer';

NPM scripts

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)

Credits

Made with :heart: by @_kunnnu and all these wonderful contributors (emoji key):

Index

Type aliases

EnrichedObject

EnrichedObject<O>: O & {}

Type parameters

  • O

Enricher

Enricher<S>: (obj: S) => Promise<EnrichedObject<S>>

Type parameters

  • S

Type declaration

Policy

Policy: (subject: EnrichedObject<Subject>, resource: EnrichedObject<Resource>, action: Action, context: any) => boolean

Type declaration

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc