Initial commit

This commit is contained in:
Patrick Marsceill
2017-03-09 13:16:08 -05:00
commit b7b0d0d7bf
4147 changed files with 401224 additions and 0 deletions

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

@@ -0,0 +1 @@
test

24
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
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
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
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));
}

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

@@ -0,0 +1,79 @@
{
"_args": [
[
"read-file-stdin@^0.2.1",
"/Users/pmarsceill/_projects/just-the-docs/node_modules/stylehacks"
]
],
"_from": "read-file-stdin@>=0.2.1 <0.3.0",
"_id": "read-file-stdin@0.2.1",
"_inCache": true,
"_installable": true,
"_location": "/read-file-stdin",
"_nodeVersion": "4.2.4",
"_npmUser": {
"email": "ian@ianstormtaylor.com",
"name": "ianstormtaylor"
},
"_npmVersion": "2.14.12",
"_phantomChildren": {},
"_requested": {
"name": "read-file-stdin",
"raw": "read-file-stdin@^0.2.1",
"rawSpec": "^0.2.1",
"scope": null,
"spec": ">=0.2.1 <0.3.0",
"type": "range"
},
"_requiredBy": [
"/stylehacks"
],
"_resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz",
"_shasum": "25eccff3a153b6809afacb23ee15387db9e0ee61",
"_shrinkwrap": null,
"_spec": "read-file-stdin@^0.2.1",
"_where": "/Users/pmarsceill/_projects/just-the-docs/node_modules/stylehacks",
"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"
},
"directories": {},
"dist": {
"shasum": "25eccff3a153b6809afacb23ee15387db9e0ee61",
"tarball": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz"
},
"gitHead": "a377a5c742f7a984dd0530c8fa0fbf6e7940a4ee",
"homepage": "https://github.com/ianstormtaylor/read-file-stdin",
"keywords": [
"buffer",
"file",
"read",
"stdin"
],
"license": "MIT",
"maintainers": [
{
"name": "ianstormtaylor",
"email": "ian@ianstormtaylor.com"
},
{
"name": "dominicbarnes",
"email": "dominic@dbarnes.info"
}
],
"name": "read-file-stdin",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/ianstormtaylor/read-file-stdin.git"
},
"scripts": {},
"version": "0.2.1"
}