You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

ms-users-restify

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-users-restify

Core of the microservice for handling users

Source
npmnpm
Version
1.4.0
Version published
Weekly downloads
63
687.5%
Maintainers
2
Weekly downloads
 
Created
Source

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);

FAQs

Package last updated on 08 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts