open-index/open-npm huggingface dataset:
npm package: @nikolaidokken/nice-ui
Description: A design system made by me, for me
Author: Nikolai Dokken
Latest version: 0.1.8

# Nice-UI

A design system made by me, for me. I initally wanted this system for all my webpages and portfolio, but if you want I'll let you borrow it.

## Components

As of now the design systems contain the following components:

-   Avatar
-   Badges
-   Buttons
-   Card
-   Icon
-   Typography
-   ThemeSwitch

## Contribution

Feel free to contribute if you find something missing, just submit a PR on Github.
npm package: @nikolairoll/auth
Description: simple abac authorization toll
Author: Nikolai Roll
Latest version: 0.1.2

# @nikolairoll/auth

_auth_ provides a simple authorization framework without much overhead for abac & rbac

## 1. Installation

```
$ npm install @nikolairoll/auth
```

## 2. Usage

Currently, only a lazy evaluation engine is available.

Interface of versions <1.0.0 change with any update.

```js
const engine = makeEngine({conditions, roles});

const session = engine.withContext(context).withUser(currentUser);

if(session.authorize("post:read", post)) {

...

```

## 3. Further Information

For further information and/or new versions got to [GitHub](https://github.com/NikolaiRoll/auth)