Beta 7 with some repo names changed.
This commit is contained in:
1 parent
0f7b40cca7
commit
963c19493a
3408 files changed
+462217
-15516
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
const {Readable} = require('stream');
|
||||
|
||||
module.exports = input => (
|
||||
new Readable({
|
||||
read() {
|
||||
this.push(input);
|
||||
this.push(null);
|
||||
}
|
||||
})
|
||||
);
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "to-readable-stream",
|
||||
"version": "1.0.0",
|
||||
"description": "Convert a string/Buffer/Uint8Array to a readable stream",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/to-readable-stream",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"stream",
|
||||
"readablestream",
|
||||
"string",
|
||||
"buffer",
|
||||
"uint8array",
|
||||
"from",
|
||||
"into",
|
||||
"to",
|
||||
"transform",
|
||||
"convert",
|
||||
"readable",
|
||||
"pull"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"get-stream": "^3.0.0",
|
||||
"xo": "*"
|
||||
}
|
||||
|
||||
,"_resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz"
|
||||
,"_integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
|
||||
,"_from": "to-readable-stream@^1.0.0"
|
||||
}
|
||||
Reference in new issue
Block a user