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

express-boot

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-boot - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

boot.js

@@ -25,3 +25,3 @@ /*jslint node: true, forin: true, jslint white: true, newcap: true*/

_opt = _defaults,
_version = '0.0.1',
_version = '0.0.2',
_ = require('lodash'),

@@ -28,0 +28,0 @@ cout = require('cout'),

@@ -6,2 +6,6 @@ Changelog

* Initial Commit
* Initial Commit
**0.0.2**
* Updated readme
{
"name": "express-boot",
"version": "0.0.1",
"version": "0.0.2",
"description": "A simple Express middleware to start and stop the server.",

@@ -5,0 +5,0 @@ "main": "boot.js",

@@ -7,3 +7,7 @@ express-boot

[![Build Status](https://travis-ci.org/iwatakeshi/express-boot.svg)](https://travis-ci.org/iwatakeshi/express-boot)
[![npm version](https://badge.fury.io/js/express-boot.svg)](http://badge.fury.io/js/express-boot)
[![NPM](https://nodei.co/npm/express-boot.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/express-boot/)
##Install

@@ -18,4 +22,5 @@

```js
var app = require('express')();
var boot = require('express-boot')(app, process.env.PORT || 3000);
var boot = require('express-boot');

@@ -26,3 +31,3 @@ /*...*/

if(require.main === module){
boot().start();
boot(app, process.env.PORT|| 3000).start();
} else {

@@ -90,1 +95,12 @@ //In case you want to use app in your tests.

##Changelog
**Latest:**
**0.0.1**
* Initial Commit
**0.0.2**
* Updated readme

Sorry, the diff of this file is not supported yet

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