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

nbn

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nbn

Nothing But Net, an opinonated microservice utilizing seneca via rabbitmq (optionally hapi, statsd, hirefire & heroku)

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

nbn

aka Nothing But Net

Lead Maintainer - Shaun Berryman

Dependencies

This awesome thing depends on the following:

  • Hapi
  • Seneca
  • RabbitMQ (not technically required but used as the default seneca client & listen transports)

Options


module.exports = {
    services: '/.*/i',
    servicesPath: './services',
    plugins: '/.*/i',
    pluginsPath: './plugins',
    relativeTo: __dirname
};

Examples

ToDo

Docker

ToDo

Heroku

Generate a Procfile which will automatically execute ./node_modules/.bin/nbn with the correct command line options.

> npm run heroku-procfile

  Output??

Example

web: npm run cli --web --hirefire

low: npm run cli --listen --services="/.*/i" --prefetch=$LISTEN_PREFETCH_LOW
l-find-customer: npm run cli --listen --services="find-customer" --prefetch=$LISTEN_PREFETCH_FIND_CUSTOMER
l-email-customer: npm run cli --listen --services="email-customer" --prefetch=$LISTEN_PREFETCH_EMAIL_CUSTOMER

TCP Client Example

Left this here for ideas..

> npm run cli --listen --listen-type="" --services="/.*/i" --plugins="seneca-loadbalance-srv,seneca-logger"

FAQs

Package last updated on 10 Jul 2015

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