Install winston for logging

Use winston to manage log structure and to make it easy to redirect
logs to different files
This commit is contained in:
mmcwilliams 2017-08-21 21:23:48 -04:00
parent 3f9e2853b0
commit 782484b7e9
3 changed files with 649 additions and 20 deletions

View File

@ -1,26 +1,32 @@
'use strict' 'use strict'
const ble = require('./lib/blootstrap') const ble = require('./lib/blootstrap')
const express = require('express') const restify = require('restify')
const app = express() const logger = require('winston')
const gpio = require('gpio') const gpio = require('gpio')
const gpio4 = gpio.export(4, { const pin = {}
const PORT = process.env.PORT || 6699
const APPNAME = 'intval3'
let app = restify.createServer({
name: APPNAME,
version: '1.0.0'
})
function createPins () {
pin.four = gpio.export(4, {
direction: 'out', direction: 'out',
interval: 100, interval: 100,
ready : () => { ready : () => {
}
})
const PORT = process.env.PORT || 6699
const APPNAME = 'my_project'
function blink (req, res, next) { }
console.log('Blinking!') })
gpio4.set(1) }
setTimeout(() => {
gpio4.set(0) function Frame (dir = true, length = 0, delay = 0) {
res.send('<h1>You blinked!</h1>')
next()
}, 1000)
} }
function index (req, res, next) { function index (req, res, next) {

622
package-lock.json generated Normal file
View File

@ -0,0 +1,622 @@
{
"name": "intval3",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"asn1": {
"version": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
"integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y="
},
"assert-plus": {
"version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
},
"async": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz",
"integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k="
},
"balanced-match": {
"version": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
"optional": true
},
"bcrypt-pbkdf": {
"version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
"integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
"optional": true,
"requires": {
"tweetnacl": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz"
}
},
"bleno": {
"version": "https://registry.npmjs.org/bleno/-/bleno-0.4.2.tgz",
"integrity": "sha1-IesK10O850eU45L0ph4TsHOT26o=",
"requires": {
"bplist-parser": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",
"debug": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
"xpc-connection": "https://registry.npmjs.org/xpc-connection/-/xpc-connection-0.1.4.tgz"
}
},
"bplist-parser": {
"version": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",
"integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk=",
"optional": true
},
"brace-expansion": {
"version": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
"integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
"optional": true,
"requires": {
"balanced-match": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"concat-map": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
}
},
"bunyan": {
"version": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz",
"integrity": "sha1-8VDw9nSKvdcq6uhPBEA74u8RN5c=",
"requires": {
"dtrace-provider": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.5.tgz",
"moment": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz",
"mv": "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz",
"safe-json-stringify": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.0.4.tgz"
}
},
"clone-regexp": {
"version": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.0.tgz",
"integrity": "sha1-6uCiQT9VwJQvgYwin+/OhF1/Oxw=",
"requires": {
"is-regexp": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
"is-supported-regexp-flag": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.0.tgz"
}
},
"colors": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
"integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs="
},
"concat-map": {
"version": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"optional": true
},
"core-util-is": {
"version": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"csv": {
"version": "https://registry.npmjs.org/csv/-/csv-1.1.1.tgz",
"integrity": "sha1-2ZUtWbH5ZKevvN2ATWgYpzGZpHc=",
"requires": {
"csv-generate": "https://registry.npmjs.org/csv-generate/-/csv-generate-1.0.0.tgz",
"csv-parse": "https://registry.npmjs.org/csv-parse/-/csv-parse-1.2.1.tgz",
"csv-stringify": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-1.0.4.tgz",
"stream-transform": "https://registry.npmjs.org/stream-transform/-/stream-transform-0.1.2.tgz"
}
},
"csv-generate": {
"version": "https://registry.npmjs.org/csv-generate/-/csv-generate-1.0.0.tgz",
"integrity": "sha1-vVKIaFnQySXz5R9g86vtJi+hXK8="
},
"csv-parse": {
"version": "https://registry.npmjs.org/csv-parse/-/csv-parse-1.2.1.tgz",
"integrity": "sha1-kZnCPySQ2YxNmrKgFnsGknSYyd8="
},
"csv-stringify": {
"version": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-1.0.4.tgz",
"integrity": "sha1-vBi6ua1M7zGV/SV5gLWLR5xC0+U=",
"requires": {
"lodash.get": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz"
}
},
"cycle": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz",
"integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI="
},
"dashdash": {
"version": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
}
},
"debug": {
"version": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
"integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=",
"requires": {
"ms": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz"
}
},
"detect-node": {
"version": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz",
"integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc="
},
"dtrace-provider": {
"version": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.5.tgz",
"integrity": "sha1-mOu6Ihr6xG4cOf02hY2Pk2dSS5I=",
"optional": true,
"requires": {
"nan": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz"
}
},
"easy-stack": {
"version": "https://registry.npmjs.org/easy-stack/-/easy-stack-1.0.0.tgz",
"integrity": "sha1-EskbMIWjfwuqM26UhurEv5Tj54g="
},
"ecc-jsbn": {
"version": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
"integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"optional": true,
"requires": {
"jsbn": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
}
},
"escape-regexp-component": {
"version": "https://registry.npmjs.org/escape-regexp-component/-/escape-regexp-component-1.0.2.tgz",
"integrity": "sha1-nGO20LJf8qiMOtvRjFthrMO5+qI="
},
"event-pubsub": {
"version": "https://registry.npmjs.org/event-pubsub/-/event-pubsub-4.2.4.tgz",
"integrity": "sha1-Y0+2l/5AFNxQBHIthZQyuqISMlc="
},
"extsprintf": {
"version": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
},
"eyes": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",
"integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A="
},
"formidable": {
"version": "https://registry.npmjs.org/formidable/-/formidable-1.1.1.tgz",
"integrity": "sha1-lriIb3w8NQi5Mta9cMTTqI818ak="
},
"getpass": {
"version": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
}
},
"glob": {
"version": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
"integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
"optional": true,
"requires": {
"inflight": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"inherits": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"minimatch": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"once": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"path-is-absolute": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
}
},
"gpio": {
"version": "https://registry.npmjs.org/gpio/-/gpio-0.2.7.tgz",
"integrity": "sha1-vzhsiJYe/QpPag/3FnrA/zmX6rk="
},
"handle-thing": {
"version": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz",
"integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ="
},
"hpack.js": {
"version": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
"integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=",
"requires": {
"inherits": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"obuf": "https://registry.npmjs.org/obuf/-/obuf-1.1.1.tgz",
"readable-stream": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
"wbuf": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.2.tgz"
}
},
"http-deceiver": {
"version": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz",
"integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc="
},
"http-signature": {
"version": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
"integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
"jsprim": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
"sshpk": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz"
},
"dependencies": {
"assert-plus": {
"version": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
"integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ="
}
}
},
"inflight": {
"version": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"optional": true,
"requires": {
"once": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"wrappy": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
}
},
"inherits": {
"version": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"is-regexp": {
"version": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
"integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk="
},
"is-supported-regexp-flag": {
"version": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.0.tgz",
"integrity": "sha1-i1IMhfrnolM4LUsCZS4EVXbhO7g="
},
"isarray": {
"version": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
"js-message": {
"version": "https://registry.npmjs.org/js-message/-/js-message-1.0.5.tgz",
"integrity": "sha1-IwDSSxrwjondCVvBpMnJz8uJLRU="
},
"js-queue": {
"version": "https://registry.npmjs.org/js-queue/-/js-queue-2.0.0.tgz",
"integrity": "sha1-NiITz4YPRo8BJfxslqvBdCUx+Ug=",
"requires": {
"easy-stack": "https://registry.npmjs.org/easy-stack/-/easy-stack-1.0.0.tgz"
}
},
"jsbn": {
"version": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
"optional": true
},
"json-schema": {
"version": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
},
"jsprim": {
"version": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"extsprintf": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
"json-schema": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
"verror": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"
}
},
"lodash": {
"version": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
},
"lodash.get": {
"version": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
"integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk="
},
"lru-cache": {
"version": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz",
"integrity": "sha1-Yi4y6CSItJJ5EUpPns9F581rulU=",
"requires": {
"pseudomap": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
"yallist": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz"
}
},
"mime": {
"version": "https://registry.npmjs.org/mime/-/mime-1.3.6.tgz",
"integrity": "sha1-WR2E02U6awtKO5343lqoEI5y5eA="
},
"minimalistic-assert": {
"version": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz",
"integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M="
},
"minimatch": {
"version": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
"optional": true,
"requires": {
"brace-expansion": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz"
}
},
"minimist": {
"version": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"optional": true
},
"mkdirp": {
"version": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"optional": true,
"requires": {
"minimist": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
}
},
"moment": {
"version": "https://registry.npmjs.org/moment/-/moment-2.18.1.tgz",
"integrity": "sha1-w2GT3Tzhwu7SrbfIAtu8d6gbHA8=",
"optional": true
},
"ms": {
"version": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"mv": {
"version": "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz",
"integrity": "sha1-rmzg1vbV4KT32JN5jQPB6pVZtqI=",
"optional": true,
"requires": {
"mkdirp": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"ncp": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz",
"rimraf": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz"
}
},
"nan": {
"version": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz",
"integrity": "sha1-5P805slf37WuzAjeZZb0NgWn20U=",
"optional": true
},
"ncp": {
"version": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz",
"integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=",
"optional": true
},
"negotiator": {
"version": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk="
},
"node-ipc": {
"version": "https://registry.npmjs.org/node-ipc/-/node-ipc-9.1.0.tgz",
"integrity": "sha1-rZd4NmcWX1lE6kHPBmGPHEvheSo=",
"requires": {
"event-pubsub": "https://registry.npmjs.org/event-pubsub/-/event-pubsub-4.2.4.tgz",
"js-message": "https://registry.npmjs.org/js-message/-/js-message-1.0.5.tgz",
"js-queue": "https://registry.npmjs.org/js-queue/-/js-queue-2.0.0.tgz"
}
},
"obuf": {
"version": "https://registry.npmjs.org/obuf/-/obuf-1.1.1.tgz",
"integrity": "sha1-EEEktsYCxnlogaBCVB0220OlJk4="
},
"once": {
"version": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
}
},
"path-is-absolute": {
"version": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"optional": true
},
"process-nextick-args": {
"version": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
"integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M="
},
"pseudomap": {
"version": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
"integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
},
"qs": {
"version": "https://registry.npmjs.org/qs/-/qs-6.5.0.tgz",
"integrity": "sha1-jQSVTTZN7z78VbWgeT4eLIsebkk="
},
"readable-stream": {
"version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
"integrity": "sha1-No8lEtefnUb9/HE0mueHi7weuVw=",
"requires": {
"core-util-is": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"inherits": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"isarray": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"process-nextick-args": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
"safe-buffer": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
"string_decoder": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
"util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
}
},
"restify": {
"version": "https://registry.npmjs.org/restify/-/restify-5.2.0.tgz",
"integrity": "sha1-9xMxAu85WKVtpC92BBURKnigGCI=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"bunyan": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz",
"clone-regexp": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.0.tgz",
"csv": "https://registry.npmjs.org/csv/-/csv-1.1.1.tgz",
"dtrace-provider": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.5.tgz",
"escape-regexp-component": "https://registry.npmjs.org/escape-regexp-component/-/escape-regexp-component-1.0.2.tgz",
"formidable": "https://registry.npmjs.org/formidable/-/formidable-1.1.1.tgz",
"http-signature": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
"lodash": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"lru-cache": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz",
"mime": "https://registry.npmjs.org/mime/-/mime-1.3.6.tgz",
"negotiator": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"once": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"qs": "https://registry.npmjs.org/qs/-/qs-6.5.0.tgz",
"restify-errors": "https://registry.npmjs.org/restify-errors/-/restify-errors-4.3.0.tgz",
"semver": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz",
"spdy": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz",
"uuid": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
"vasync": "https://registry.npmjs.org/vasync/-/vasync-1.6.4.tgz",
"verror": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"
},
"dependencies": {
"uuid": {
"version": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
"integrity": "sha1-PdPT55Crwk17DToDT/q6vijrvAQ="
}
}
},
"restify-errors": {
"version": "https://registry.npmjs.org/restify-errors/-/restify-errors-4.3.0.tgz",
"integrity": "sha1-7JDzCTTX8xGRNRgd/DA+ML5gGr4=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"lodash": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"safe-json-stringify": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.0.4.tgz",
"verror": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"
}
},
"rimraf": {
"version": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz",
"integrity": "sha1-7nEM5dk6j9uFb7Xqj/Di11k0sto=",
"optional": true,
"requires": {
"glob": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz"
}
},
"safe-buffer": {
"version": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
"integrity": "sha1-iTMSr2myEj3vcfV4iQAWce6yyFM="
},
"safe-json-stringify": {
"version": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.0.4.tgz",
"integrity": "sha1-gaCY9Efku8P/MxKiQ1IbwGDvWRE=",
"optional": true
},
"select-hose": {
"version": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
"integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo="
},
"semver": {
"version": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz",
"integrity": "sha1-4FnAnYVx8FQII3M0M1BdOi8AsY4="
},
"spdy": {
"version": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz",
"integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=",
"requires": {
"debug": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
"handle-thing": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz",
"http-deceiver": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz",
"safe-buffer": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
"select-hose": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
"spdy-transport": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.0.20.tgz"
}
},
"spdy-transport": {
"version": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.0.20.tgz",
"integrity": "sha1-c15yBUxIayNU/onnAiVgBKOazk0=",
"requires": {
"debug": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
"detect-node": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz",
"hpack.js": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
"obuf": "https://registry.npmjs.org/obuf/-/obuf-1.1.1.tgz",
"readable-stream": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
"safe-buffer": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
"wbuf": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.2.tgz"
}
},
"sshpk": {
"version": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz",
"integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
"requires": {
"asn1": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"bcrypt-pbkdf": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
"dashdash": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"ecc-jsbn": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
"getpass": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"jsbn": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"tweetnacl": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz"
}
},
"stack-trace": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA="
},
"stream-transform": {
"version": "https://registry.npmjs.org/stream-transform/-/stream-transform-0.1.2.tgz",
"integrity": "sha1-fY5rTgOsR4F3j4x5UXUBv7B2Kp8="
},
"string_decoder": {
"version": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
"integrity": "sha1-D8Z9fBQYJd6UKC3VNr7GubzoYKs=",
"requires": {
"safe-buffer": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz"
}
},
"tweetnacl": {
"version": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
"optional": true
},
"util-deprecate": {
"version": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"uuid": {
"version": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
"integrity": "sha1-PdPT55Crwk17DToDT/q6vijrvAQ="
},
"vasync": {
"version": "https://registry.npmjs.org/vasync/-/vasync-1.6.4.tgz",
"integrity": "sha1-3+k2Fq0OeugBszKp2Iv8XNyOHR8=",
"requires": {
"verror": "https://registry.npmjs.org/verror/-/verror-1.6.0.tgz"
},
"dependencies": {
"extsprintf": {
"version": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.2.0.tgz",
"integrity": "sha1-WtlGwi9bMrp/jNdCZxHG6KP8JSk="
},
"verror": {
"version": "https://registry.npmjs.org/verror/-/verror-1.6.0.tgz",
"integrity": "sha1-fROyex+swuLakEBetepuW90lLqU=",
"requires": {
"extsprintf": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.2.0.tgz"
}
}
}
},
"verror": {
"version": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"requires": {
"assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"core-util-is": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"extsprintf": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz"
}
},
"wbuf": {
"version": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.2.tgz",
"integrity": "sha1-1pe5nx9ZUS3ydRvkJ2nBWAtYAf4=",
"requires": {
"minimalistic-assert": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz"
}
},
"winston": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/winston/-/winston-2.3.1.tgz",
"integrity": "sha1-C0hCDZeMAYBM8CMLZIhhWYIloRk=",
"requires": {
"async": "1.0.0",
"colors": "1.0.3",
"cycle": "1.0.3",
"eyes": "0.1.8",
"isstream": "0.1.2",
"stack-trace": "0.0.10"
}
},
"wrappy": {
"version": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xpc-connection": {
"version": "https://registry.npmjs.org/xpc-connection/-/xpc-connection-0.1.4.tgz",
"integrity": "sha1-3Nf6oq7Gt6bhjMXdrQQvejTHcVY=",
"optional": true,
"requires": {
"nan": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz"
}
},
"yallist": {
"version": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
}
}
}

View File

@ -27,6 +27,7 @@
"gpio": "^0.2.7", "gpio": "^0.2.7",
"node-ipc": "^9.1.0", "node-ipc": "^9.1.0",
"restify": "^5.2.0", "restify": "^5.2.0",
"uuid": "^3.1.0" "uuid": "^3.1.0",
"winston": "^2.3.1"
} }
} }