Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-nailgun-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-nailgun-server - npm Package Compare versions

Comparing version 0.1.4 to 0.2.0

4

lib/node-nailgun-server.js

@@ -39,5 +39,5 @@ 'use strict'

server.stdout.on('data', function (data) {
var started = data.toString().match(/^NGServer started on .+, port \d+./)
var started = data.toString().match(/^NGServer .+ started on .+, port \d+./)
if (started) {
var portStr = started[0].match(/(port )+(\d+)/)[2]
var portStr = started[0].match(/(port )+(\d+)\./)[2]
var port = parseInt(portStr, 10)

@@ -44,0 +44,0 @@

{
"name": "node-nailgun-server",
"version": "0.1.4",
"description": "A Node.js module and CLI for running Nailgun servers",
"version": "0.2.0",
"description": "A Node.js module for running Nailgun servers",
"author": "Markus Hedvall <mackanhedvall@gmail.com>",
"repository": "https://github.com/markushedvall/node-nailgun-server",
"main": "index.js",
"main": "lib/node-nailgun-server.js",
"license": "Apache-2.0",

@@ -14,16 +14,18 @@ "keywords": [

],
"dependencies": {
"commander": "^2.8.1"
},
"devDependencies": {
"chai": "^3.2.0",
"mocha": "^2.2.5",
"standard": "^5.0.2"
"chai": "^4.x",
"mocha": "^5.x",
"standard": "^12.x",
"download": "^7.x"
},
"bin": {
"node-nailgun-server": "index.js"
},
"files": [
"lib/",
"vendor/nailgun.jar"
],
"scripts": {
"test": "standard && mocha"
"prepublish": "node scripts/get-nailgun.js",
"test": "npm run lint && npm run unit",
"unit": "mocha",
"lint": "standard"
}
}
# node-nailgun-server
A Node.js module and CLI for running [Nailgun](http://martiansoftware.com/nailgun/) servers.
A Node.js module for running [Nailgun](http://martiansoftware.com/nailgun/) servers.
[![npm Version](https://img.shields.io/npm/v/node-nailgun-server.svg)](https://www.npmjs.com/package/node-nailgun-server) [![Build Status](https://travis-ci.org/markushedvall/node-nailgun-server.svg)](https://travis-ci.org/markushedvall/node-nailgun-server) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
This let's you either run Nailgun as a standlone server trough a command line interface or directly through your Node.js applications.
This package enable you to run Nailgun servers through your Node.js applications.

@@ -50,16 +50,3 @@ Note that this only provides support for running Nailgun servers. If you are need of a Nailgun client for Node.js, [node-nailgun-client](https://www.npmjs.com/package/node-nailgun-client) is recommended.

# CLI
```
Usage: node-nailgun-server [options]
Options:
-h, --help output usage information
-V, --version output the version number
-a, --address [address] the address at which to listen
-p, --port [port] the port on which to listen
```
# License
Apache License 2.0

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc