Created
June 7, 2016 06:37
-
-
Save DivineGod/fe3b96de6f4ae4f9e238b8f5aa27f403 to your computer and use it in GitHub Desktop.
npmlog@3 reduced test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Logger = require('npmlog') | |
var express = require('express') | |
var app = express() | |
app.get('/', function(req, res) { | |
res.send('Hello') | |
}) | |
console.log('starting server') | |
app.listen("8080") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "poc-npmlog-prof", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"v2": "npm i npmlog@2 && node --prof index.js", | |
"v3": "npm i npmlog@3 && node --prof index.js", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"express": "^4.13.4", | |
"npmlog": "^3.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment