diff options
author | Minteck <contact@minteck.org> | 2022-06-04 08:51:19 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-04 08:51:19 +0200 |
commit | b22f6770c8bd084d66950655203c61dd701b3d90 (patch) | |
tree | 873d7fb19584ec2709b95cc1ca05a1fc7cfd0fc4 /node_modules/to-readable-stream | |
parent | 383285ecd5292bf9a825e05904955b937de84cc9 (diff) | |
download | equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.gz equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.bz2 equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.zip |
Remove node_modules
Diffstat (limited to 'node_modules/to-readable-stream')
-rw-r--r-- | node_modules/to-readable-stream/index.js | 11 | ||||
-rw-r--r-- | node_modules/to-readable-stream/license | 9 | ||||
-rw-r--r-- | node_modules/to-readable-stream/package.json | 40 | ||||
-rw-r--r-- | node_modules/to-readable-stream/readme.md | 42 |
4 files changed, 0 insertions, 102 deletions
diff --git a/node_modules/to-readable-stream/index.js b/node_modules/to-readable-stream/index.js deleted file mode 100644 index 554bfa5..0000000 --- a/node_modules/to-readable-stream/index.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; -const {Readable} = require('stream'); - -module.exports = input => ( - new Readable({ - read() { - this.push(input); - this.push(null); - } - }) -); diff --git a/node_modules/to-readable-stream/license b/node_modules/to-readable-stream/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/to-readable-stream/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/to-readable-stream/package.json b/node_modules/to-readable-stream/package.json deleted file mode 100644 index c475a92..0000000 --- a/node_modules/to-readable-stream/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "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": "*" - } -} diff --git a/node_modules/to-readable-stream/readme.md b/node_modules/to-readable-stream/readme.md deleted file mode 100644 index fc207c5..0000000 --- a/node_modules/to-readable-stream/readme.md +++ /dev/null @@ -1,42 +0,0 @@ -# to-readable-stream [![Build Status](https://travis-ci.org/sindresorhus/to-readable-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/to-readable-stream) - -> Convert a string/Buffer/Uint8Array to a [readable stream](https://nodejs.org/api/stream.html#stream_readable_streams) - - -## Install - -``` -$ npm install to-readable-stream -``` - - -## Usage - -```js -const toReadableStream = require('to-readable-stream'); - -toReadableStream('🦄🌈').pipe(process.stdout); -``` - - -## API - -### toReadableStream(input) - -Returns a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_readable_streams). - -#### input - -Type: `string` `Buffer` `Uint8Array` - -Value to convert to a stream. - - -## Related - -- [into-stream](https://github.com/sindresorhus/into-stream) - More advanced version of this module - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) |