exec-buffer
Advanced tools
Comparing version
15
index.js
@@ -84,3 +84,4 @@ 'use strict'; | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -90,3 +91,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -96,3 +98,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -102,3 +105,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -108,3 +112,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -111,0 +116,0 @@ |
{ | ||
"name": "exec-buffer", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Run a buffer through a child process", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "mocha --reporter list" | ||
"test": "node test/test.js" | ||
}, | ||
@@ -28,9 +28,8 @@ "files": [ | ||
"rimraf": "^2.2.6", | ||
"tempfile": "^0.1.3" | ||
"tempfile": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"gifsicle": "^0.1.5", | ||
"mocha": "^1.18.2", | ||
"tempfile": "^0.1.3" | ||
"ava": "0.0.3", | ||
"gifsicle": "^0.1.5" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # exec-buffer [](https://travis-ci.org/kevva/exec-buffer) | ||
```bash | ||
```ba | ||
$ npm install --save exec-buffer | ||
@@ -22,3 +22,3 @@ ``` | ||
execBuffer | ||
.use(gifsicle, ['-o', execBuffer.dest, execBuffer.src]) | ||
.use(gifsicle, ['-o', execBuffer.dest(), execBuffer.src()]) | ||
.run(fs.readFileSync('test.gif'), function (err, data) { | ||
@@ -43,3 +43,3 @@ if (err) { | ||
Accepts a path to a binary and an Array of arguments. | ||
Accepts a path to a binary and an `Array` of arguments. | ||
@@ -56,6 +56,6 @@ ### .src(path) | ||
Run the Buffer through the child process. | ||
Run the `Buffer` through the child process. | ||
## License | ||
[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Kevin Mårtensson](https://github.com/kevva) | ||
MIT © [Kevin Mårtensson](https://github.com/kevva) |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3922
0.64%2
-33.33%102
5.15%1
-50%+ Added
+ Added
+ Added
- Removed
- Removed
Updated