ms-users-restify

1.5.0 • Public • Published

Restify transport adapter for ms-users

Install

npm i ms-users-restify -S

Usage

Family must be set to users, this is a limitation of this module for now

// server - restify server instance

const users = require('ms-users-restify');
const family = 'users';
const prefix = '/api';

// update configuration singleton
users.config({ prefix: 'niceusers', postfix: {
  register: 'oh-not-so-fast'
}});

// attaches handlers
users.attach(server, family, prefix);

Readme

Keywords

none

Package Sidebar

Install

npm i ms-users-restify

Weekly Downloads

0

Version

1.5.0

License

MIT

Last publish

Collaborators

  • avvs
  • evgpoy