{"_id":"node-tool-utils","_rev":"1212282","name":"node-tool-utils","description":"node cross-platform tool library","dist-tags":{"latest":"1.6.0"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"time":{"modified":"2021-10-13T05:45:56.000Z","created":"2018-09-27T10:08:49.240Z","1.6.0":"2020-01-03T07:18:22.124Z","1.5.0":"2019-10-23T09:13:32.174Z","1.4.1":"2019-10-22T08:53:14.478Z","1.4.0":"2019-10-21T06:34:37.185Z","1.3.0":"2019-09-07T07:58:04.070Z","1.2.3":"2019-08-01T05:44:41.327Z","1.2.2":"2019-07-05T07:18:20.073Z","1.2.1":"2019-03-07T07:36:28.558Z","1.2.0":"2019-01-22T09:48:44.327Z","1.1.1":"2018-10-10T05:26:03.711Z","1.1.0":"2018-09-28T10:58:16.350Z","1.0.0":"2018-09-27T10:20:20.987Z","0.1.0":"2018-09-27T10:08:49.240Z"},"users":{},"author":{"name":"hubcarl@126.com"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"versions":{"1.6.0":{"name":"node-tool-utils","version":"1.6.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"c49e9281f0106acd19d24622141cb8281dcc9362","_id":"node-tool-utils@1.6.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"a42d69b188a6e770aa4fc7097dd9fcb4410dc1ff","size":6350,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.6.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.6.0_1578035902024_0.5200873450977361"},"_hasShrinkwrap":false,"publish_time":1578035902124,"_cnpm_publish_time":1578035902124},"1.5.0":{"name":"node-tool-utils","version":"1.5.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"7274b0a9494f0674089e06e56648009af865b5f2","_id":"node-tool-utils@1.5.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"ccc1af5112eb567770cf3082ee11d5a2ff1f4e0f","size":6139,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.5.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.5.0_1571822012030_0.3041227871999703"},"_hasShrinkwrap":false,"publish_time":1571822012174,"_cnpm_publish_time":1571822012174},"1.4.1":{"name":"node-tool-utils","version":"1.4.1","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"5961636e5e417c4884964339a386aa50deb7175c","_id":"node-tool-utils@1.4.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"f8123f08cc8c86406764973e1759379dc9a4770a","size":5969,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.4.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.4.1_1571734394380_0.19223948011399394"},"_hasShrinkwrap":false,"publish_time":1571734394478,"_cnpm_publish_time":1571734394478},"1.4.0":{"name":"node-tool-utils","version":"1.4.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"e55ea99bc32e3e2e5ca8dce92696f825c0affa2d","_id":"node-tool-utils@1.4.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"a7029284689860c9a3f473ca791ba0da3cb8791f","size":5706,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.4.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.4.0_1571639677066_0.8357515838642364"},"_hasShrinkwrap":false,"publish_time":1571639677185,"_cnpm_publish_time":1571639677185},"1.3.0":{"name":"node-tool-utils","version":"1.3.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"4dd4360bb09cdf10c87c0ce0fb2c7a1d7dd13830","_id":"node-tool-utils@1.3.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"36464143b13f76305792aff313c84062c3cf6293","size":5397,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.3.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.3.0_1567843083922_0.954990421793398"},"_hasShrinkwrap":false,"publish_time":1567843084070,"_cnpm_publish_time":1567843084070},"1.2.3":{"name":"node-tool-utils","version":"1.2.3","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"a75c59d78464044851ff6c9c33df01af624da2a5","_id":"node-tool-utils@1.2.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"11d4442b6b7572b18fcd6efb2d2aac47cbfb5cfd","size":4621,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.2.3.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.2.3_1564638281170_0.3912313985090974"},"_hasShrinkwrap":false,"publish_time":1564638281327,"_cnpm_publish_time":1564638281327},"1.2.2":{"name":"node-tool-utils","version":"1.2.2","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"980494861787fec1e21596f2ecb5cdd2f7027325","_id":"node-tool-utils@1.2.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"2d230426ff102bf6b7ca08e7629032703505d7d6","size":4582,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.2.2.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.2.2_1562311099901_0.5271383187017356"},"_hasShrinkwrap":false,"publish_time":1562311100073,"_cnpm_publish_time":1562311100073},"1.2.1":{"name":"node-tool-utils","version":"1.2.1","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"acc5db53507b619a238da00882349e285342e73c","_id":"node-tool-utils@1.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"0e5d6fc7798da421422e7cc16bd27ffcc80c4116","size":4531,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.2.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.2.1_1551944188413_0.030218230297361037"},"_hasShrinkwrap":false,"publish_time":1551944188558,"_cnpm_publish_time":1551944188558},"1.2.0":{"name":"node-tool-utils","version":"1.2.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","mkdirp":"^0.5.1","node-glob":"^1.2.0","node-http-server":"^8.1.2","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"fc9e01f3f5ae6457d70288ba44500b7381966524","_id":"node-tool-utils@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"65108f549338e803b7a35a205c05691455b133a6","size":4514,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.2.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.2.0_1548150524185_0.3102364889601561"},"_hasShrinkwrap":false,"publish_time":1548150524327,"_cnpm_publish_time":1548150524327},"1.1.1":{"name":"node-tool-utils","version":"1.1.1","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","opn":"^5.4.0","shelljs":"^0.8.2","node-glob":"^1.2.0","node-http-server":"^8.1.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"005d05263b147b4883bbc83093ddcc9cffae273c","_id":"node-tool-utils@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"2014da058675888cca30e7dc449156242cd971e4","size":4324,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.1.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.1.1_1539149163578_0.0793970694540298"},"_hasShrinkwrap":false,"publish_time":1539149163711,"_cnpm_publish_time":1539149163711},"1.1.0":{"name":"node-tool-utils","version":"1.1.0","description":"node cross-platform tool library","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"chalk":"^2.0.1","cross-port-killer":"^1.0.1","opn":"^5.4.0","shelljs":"^0.8.2","node-glob":"^1.2.0","node-http-server":"^8.1.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"eae9f6315dda8a4806fffdf7381189a61ab7e542","_id":"node-tool-utils@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"613a1dbf6ff1f412c7fea921cf9021d244828815","size":4143,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.1.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.1.0_1538132296192_0.8134197289494938"},"_hasShrinkwrap":false,"publish_time":1538132296350,"_cnpm_publish_time":1538132296350},"1.0.0":{"name":"node-tool-utils","version":"1.0.0","description":"node normal tool and utils","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"cross-port-killer":"^1.0.1","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"1bde147fe9114983147e2ca94c32ec1ce51bfe5b","_id":"node-tool-utils@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"22ea487cead06548995f386d1434b3843f65762d","size":3253,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-1.0.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_1.0.0_1538043620882_0.46052452137665223"},"_hasShrinkwrap":false,"publish_time":1538043620987,"_cnpm_publish_time":1538043620987},"0.1.0":{"name":"node-tool-utils","version":"0.1.0","description":"node normal tool and utils","keywords":["npm","npm package","unit test","eslint","travis","travis-ci","code coverage","changelog"],"dependencies":{"cross-port-killer":"^1.0.1","opn":"^5.4.0","shelljs":"^0.8.2"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"6, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/node-tool-utils.git"},"bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","_id":"node-tool-utils@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"fc8701eee9e51edd52e976f63dd56b4bd1993ade","size":3412,"noattachment":false,"key":"/node-tool-utils/-/node-tool-utils-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-tool-utils/download/node-tool-utils-0.1.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-tool-utils_0.1.0_1538042929144_0.3716795074247279"},"_hasShrinkwrap":false,"publish_time":1538042929240,"_cnpm_publish_time":1538042929240}},"readme":"# node-tool-utils\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/node-tool-utils.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/node-tool-utils\n[travis-image]: https://img.shields.io/travis/hubcarl/node-tool-utils.svg?style=flat-square\n[travis-url]: https://travis-ci.org/hubcarl/node-tool-utils\n[codecov-image]: https://img.shields.io/codecov/c/github/hubcarl/node-tool-utils.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/hubcarl/node-tool-utils?branch=master\n[david-image]: https://img.shields.io/david/hubcarl/node-tool-utils.svg?style=flat-square\n[david-url]: https://david-dm.org/hubcarl/node-tool-utils\n[snyk-image]: https://snyk.io/test/npm/node-tool-utils/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/node-tool-utils\n[download-image]: https://img.shields.io/npm/dm/node-tool-utils.svg?style=flat-square\n[download-url]: https://npmjs.org/package/node-tool-utils\n\nNode Cross-Platform Tool Library\n\n## Featues\n\n```bash\nnpm install node-tool-utils --save\n```\n\n## Usage\n\n```js\nconst tool = require('node-tool-utils');\n```\n\n### Get Local IP Address\n\n```js\nconst ip = tool.getIP();\n```\n\n### Get Local Host \n\n```js\nconst host = tool.getHost(7001);\n// http://100.10.196.1:7001\n```\n\n### Kill the occupied port\n\n```js\ntool.kill(7001);\ntool.kill([7001,7002]);\n```\n\n### Check port is available\n\n```js\n// return true or false\nconst isUsed = tool.checkPortUsed(7001);\n```\n\n### Get an available port\n\nWhen 7001 is occupied, it will automatically detect whether 7002 is occupied. If it is not occupied, it will return. Otherwise, it will continue to increment detection. The default check is 10 times.\n\n```js\nconst port = tool.getPort(7001);\n```\n\n### Delete File\n\n```js\nconst dir = path.join(__dirname, 'dist/index.html');\ntool.deleteFile(dir);\n```\n\n### Delete Dir\n\n```js\nconst dir = path.join(__dirname, 'dist');\ntool.rm(dir);\n```\n\n### Open Browser Or Window\n\nOpen the Window or Finder or Browser of the specified path\n\n```js\ntool.open('.'); // open Window or Finder\ntool.openBrowser(); // open Browser\n```\n\n### Start Web Http Server\n\nDefault check HTML file as homepage\n\n```js\nconst dist = path.join(__dirname, 'dist');\ntool.httpserver({ port: 8088, dist },() => {});\n```\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/hubcarl/node-tool-utils#readme","bugs":{"url":"https://github.com/hubcarl/node-tool-utils/issues"},"license":"MIT"}