+5
-0
@@ -0,2 +1,7 @@ | ||
| ## v1.0.0 / December 20, 2014 | ||
| - remove Makefile | ||
| - add lcov reporter, istanbul | ||
| - add usage | ||
| ## v0.0.1 / December 20, 2014 | ||
| - init commits |
+4
-2
| { | ||
| "name": "exec-cmd", | ||
| "version": "0.0.1", | ||
| "version": "1.0.0", | ||
| "description": "Simple, fast and cross-platform executing commands (with child_process spawn) using Bluebird or Native Promise", | ||
@@ -48,4 +48,6 @@ "scripts": { | ||
| "bluebird": "^2.4.0", | ||
| "mocha": "^2.0.1" | ||
| "istanbul-harmony": "^0.3.1", | ||
| "mocha": "^2.0.1", | ||
| "mocha-lcov-reporter": "0.0.1" | ||
| } | ||
| } |
+12
-1
@@ -17,3 +17,14 @@ [![npm version][npmjs-img]][npmjs-url] | ||
| ## Usage | ||
| ## API / CLI | ||
| ```js | ||
| var exec = require('exec-cmd'); | ||
| var promise = exec('echo', [ | ||
| 'hello world' | ||
| ]) | ||
| .then(function(stdout) { | ||
| //=> 'hello world' | ||
| }) | ||
| .catch(function(stderr) { | ||
| //=> '' | ||
| }) | ||
| ``` | ||
@@ -20,0 +31,0 @@ |
-23
| # Makefile <https://github.com/tunnckoCore/dotfiles> | ||
| # | ||
| # Copyright (c) 2014 Charlike Mike Reagent, contributors. | ||
| # Released under the MIT license. | ||
| # | ||
| lint: | ||
| jshint . | ||
| jscs . --reporter inline | ||
| test: | ||
| mocha | ||
| test-cov: | ||
| istanbul cover _mocha | ||
| test-travis: | ||
| istanbul cover _mocha --report lcovonly | ||
| clean: | ||
| rm -rf node_modules coverage | ||
| .PHONY: lint test clean |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
-50%66
20%16395
-0.19%4
100%18
-5.26%