Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

advisor

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

advisor

A NodeSecurity Advisory caching server.

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

advisor

A simple Hapi application/plugin for caching NodeSecurity Advisory data.

Run as a Plugin

var Hapi = require('hapi');
var advisor = require('advisor');

var server = new Hapi.Server();
server.connection({ port: 8000 });

server.register(
	{
		register: advisor,
	    options: {
	        /*interval: 50,
	        url: 'http://localhost:8000'*/
	    }
	},
	function (err) {
		if (err) { throw err; }

		server.start(function (err) {
			if (err) { throw err; }
            console.log('Server started at: ' + server.info.uri);
		});
	}
);

Run Standalone

$ npm i -g advisor
# ...
$ advisor
#...

FAQs

Package last updated on 27 Jan 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