Wondering what’s next for npm?Check out our public roadmap! »

    JYF_restrict

    0.0.1 • Public • Published

    Restrict

    YF auth middleware

    Installation

    $ npm i --save JYF_restrict

    API

    var express = require('express');
    var restrict = require('restrict');
     
    var app = express();
    var restrict = restrict({baseUrl: 'http://authUrl'});
     
    app.use(restrict('some permission'));

    License

    ISC

    Keywords

    Install

    npm i JYF_restrict

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • avatar