@awesomepermissions/sdk

1.0.11 • Public • Published

Awesome Permissions SDK

NPM GitHub contributors npm npm

Currently in progress.

Website: https://www.awesomepermissions.com

Installation

npm install @awesomepermissions/sdk

Usage

const AwesomePermissions = require('@awesomepermissions/sdk');
const awp = new AwesomePermissions({ accessKey: 'your_access_key' });

const result = await awp.addPermissionsToItems({
    items: ['user-id'],
    itemTypes: ['user'],
    permissions: ['image-id'],
    actions: ['view'],
    ignoreDuplicateErrors: true,
});

For more information, please refer to the documentation

Contributors

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @awesomepermissions/sdk

Weekly Downloads

40

Version

1.0.11

License

MIT

Unpacked Size

39.8 kB

Total Files

26

Last publish

Collaborators

  • awesomepermissionsadmin