summaryrefslogtreecommitdiff
path: root/node_modules/read-file-stdin
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:10:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:41:44 +0800
commitfc87c009806dcc98867f6b58efe29b042aa01dee (patch)
tree8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/read-file-stdin
parent3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff)
node: updatemain
Diffstat (limited to 'node_modules/read-file-stdin')
-rw-r--r--node_modules/read-file-stdin/.npmignore1
-rw-r--r--node_modules/read-file-stdin/History.md24
-rw-r--r--node_modules/read-file-stdin/Makefile8
-rw-r--r--node_modules/read-file-stdin/Readme.md18
-rw-r--r--node_modules/read-file-stdin/index.js22
-rw-r--r--node_modules/read-file-stdin/package.json19
6 files changed, 0 insertions, 92 deletions
diff --git a/node_modules/read-file-stdin/.npmignore b/node_modules/read-file-stdin/.npmignore
deleted file mode 100644
index 9daeafb9..00000000
--- a/node_modules/read-file-stdin/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-test
diff --git a/node_modules/read-file-stdin/History.md b/node_modules/read-file-stdin/History.md
deleted file mode 100644
index fbe94464..00000000
--- a/node_modules/read-file-stdin/History.md
+++ /dev/null
@@ -1,24 +0,0 @@
-
-0.2.1 - January 21, 2016
-------------------------
-* add tests to `.npmignore`
-
-0.2.0 - October 15, 2014
--------------------------
-* returning a single buffer rather than an array (better for large inputs)
-
-0.0.4 - May 7, 2014
--------------------------
-* switch from `node-concat-stream` to `stream-to-array`
-
-0.0.3 - December 19, 2013
--------------------------
-* add repository to package.json
-
-0.0.2 - December 19, 2013
--------------------------
-* peg node-concat-stream
-
-0.0.1 - December 18, 2013
--------------------------
-:sparkles:
diff --git a/node_modules/read-file-stdin/Makefile b/node_modules/read-file-stdin/Makefile
deleted file mode 100644
index 2f09ff0b..00000000
--- a/node_modules/read-file-stdin/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-
-node_modules: package.json
- @npm install
-
-test: node_modules
- @./node_modules/.bin/mocha --reporter spec
-
-.PHONY: test
diff --git a/node_modules/read-file-stdin/Readme.md b/node_modules/read-file-stdin/Readme.md
deleted file mode 100644
index 92aa4283..00000000
--- a/node_modules/read-file-stdin/Readme.md
+++ /dev/null
@@ -1,18 +0,0 @@
-
-# read-file-stdin
-
- Read from a file, falling back to stdin.
-
-## Installation
-
- $ npm install read-file-stdin
-
-## API
-
-### read ([file], callback)
-
- Read from a `file`, falling back to stdin, and `callback(err, buffer)`.
-
-## License
-
- MIT \ No newline at end of file
diff --git a/node_modules/read-file-stdin/index.js b/node_modules/read-file-stdin/index.js
deleted file mode 100644
index 3b6d88b1..00000000
--- a/node_modules/read-file-stdin/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-
-var gather = require('gather-stream');
-var fs = require('fs');
-
-/**
- * Expose `read`.
- */
-
-module.exports = read;
-
-/**
- * Read from a `file`, falling back to stdin, and `callback(err, buffer)`.
- *
- * @param {String} file
- * @param {Function} callback
- */
-
-function read (file, callback) {
- if ('function' == typeof file) callback = file, file = null;
- var stream = file ? fs.createReadStream(file) : process.stdin;
- stream.pipe(gather(callback));
-}
diff --git a/node_modules/read-file-stdin/package.json b/node_modules/read-file-stdin/package.json
deleted file mode 100644
index def1967c..00000000
--- a/node_modules/read-file-stdin/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "read-file-stdin",
- "repository": "git://github.com/ianstormtaylor/read-file-stdin",
- "description": "Read from a file, falling back to stdin.",
- "keywords": [
- "read",
- "file",
- "stdin",
- "buffer"
- ],
- "version": "0.2.1",
- "license": "MIT",
- "dependencies": {
- "gather-stream": "^1.0.0"
- },
- "devDependencies": {
- "mocha": "^2.3.4"
- }
-}