aboutsummaryrefslogtreecommitdiff
path: root/node_modules/error-inject/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/error-inject/README.md')
-rw-r--r--node_modules/error-inject/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/node_modules/error-inject/README.md b/node_modules/error-inject/README.md
new file mode 100644
index 00000000..40a0c9a1
--- /dev/null
+++ b/node_modules/error-inject/README.md
@@ -0,0 +1,27 @@
+error-inject
+============
+
+inject an error listener into a stream
+
+## Install
+
+```
+npm install error-inject
+```
+
+## Usage
+
+
+```js
+var inject = require('error-inject');
+
+function error(err) {
+ console.error(err);
+}
+
+var rs = fs.createReadStream('index.js');
+inject(rs, err);
+```
+
+## License
+MIT