New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

the-controller-role

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-controller-role

Role controller for the-server

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

the-controller-role

Build Status npm Version JS Standard

Role controller for the-server

Installation

$ npm install the-controller-role --save

Usage

'use strict'

const { TheRoleCtrl } = require('the-controller-role')
const theServer = require('the-server')

async function tryExample () {
  let server = theServer({ /* ... */ })

  server.register(
    class extends TheRoleCtrl { /* ... */},
    'role'
  )

  server.listen(3000)
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Keywords

the

FAQs

Package last updated on 08 May 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