noop-server

0.0.7 • Public • Published

noop-server

Quickly launch a noop server and get the port number.

Useful for testing.

Build Status

Install

$ npm install --save noop-server

Usage

const noopserver = require('noop-server');

noopserver().then(port => {
	console.log(port);
	//=> 61739
});

CLI

Install

$ npm install --global noop-server

Launches a noop server on a free port, and prints the port number to the console.

CLI Usage

$ noopserver
noop-server port: 61511

screenshot

License

MIT © Michael Wuergler

Package Sidebar

Install

npm i noop-server

Weekly Downloads

0

Version

0.0.7

License

MIT

Last publish

Collaborators

  • radiovisual