Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/node-casbin/file-adapter

File adapter for Casbin
https://github.com/node-casbin/file-adapter

access-control adapter authorization casbin csv file node-casbin storage-driver

Last synced: 25 days ago
JSON representation

File adapter for Casbin

Awesome Lists containing this project

README

        

# Casbin File Adapter

[![NPM version][npm-image]][npm-url]
[![NPM download][download-image]][download-url]
[![Build Status][ci-image]][ci-url]
[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](https://discord.gg/S5UjpzGZjN)

[npm-image]: https://img.shields.io/npm/v/casbin-file-adapter.svg
[npm-url]: https://npmjs.org/package/casbin-file-adapter
[download-image]: https://img.shields.io/npm/dm/casbin-file-adapter.svg
[download-url]: https://npmjs.org/package/casbin-file-adapter
[ci-image]: https://github.com/node-casbin/file-adapter/workflows/ci/badge.svg?branch=master
[ci-url]: https://github.com/node-casbin/file-adapter/actions

File Adapter is the file adapter for [Node-Casbin](https://github.com/casbin/node-casbin). It was built into `node-casbin` before version v5.6.1.

With this library, Node-Casbin can load policy from policy file.

## Installation

```bash
yarn add -D casbin-file-adapter

// or

npm install casbin-prisma-adapter --save-dev
```

## Getting Help

- [Node-Casbin](https://github.com/casbin/node-casbin)

## License

This project is under Apache 2.0 License. See the [LICENSE](LICENSE) file for the full license text.