first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

1
build/node_modules/read-file-stdin/.npmignore generated vendored Normal file
View File

@@ -0,0 +1 @@
test

24
build/node_modules/read-file-stdin/History.md generated vendored Normal file
View File

@@ -0,0 +1,24 @@
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:

8
build/node_modules/read-file-stdin/Makefile generated vendored Normal file
View File

@@ -0,0 +1,8 @@
node_modules: package.json
@npm install
test: node_modules
@./node_modules/.bin/mocha --reporter spec
.PHONY: test

18
build/node_modules/read-file-stdin/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,18 @@
# 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

22
build/node_modules/read-file-stdin/index.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
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));
}

54
build/node_modules/read-file-stdin/package.json generated vendored Normal file
View File

@@ -0,0 +1,54 @@
{
"_args": [
[
"read-file-stdin@0.2.1",
"/Users/asciidisco/Desktop/asciidisco.com/build"
]
],
"_from": "read-file-stdin@0.2.1",
"_id": "read-file-stdin@0.2.1",
"_inBundle": false,
"_integrity": "sha1-JezP86FTtoCa+ssj7hU4fbng7mE=",
"_location": "/read-file-stdin",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "read-file-stdin@0.2.1",
"name": "read-file-stdin",
"escapedName": "read-file-stdin",
"rawSpec": "0.2.1",
"saveSpec": null,
"fetchSpec": "0.2.1"
},
"_requiredBy": [
"/stylehacks"
],
"_resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz",
"_spec": "0.2.1",
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
"bugs": {
"url": "https://github.com/ianstormtaylor/read-file-stdin/issues"
},
"dependencies": {
"gather-stream": "^1.0.0"
},
"description": "Read from a file, falling back to stdin.",
"devDependencies": {
"mocha": "^2.3.4"
},
"homepage": "https://github.com/ianstormtaylor/read-file-stdin#readme",
"keywords": [
"read",
"file",
"stdin",
"buffer"
],
"license": "MIT",
"name": "read-file-stdin",
"repository": {
"type": "git",
"url": "git://github.com/ianstormtaylor/read-file-stdin.git"
},
"version": "0.2.1"
}