Codebase list node-stream-array / 6a51cd4
New upstream snapshot. Debian Janitor 1 year, 4 months ago
7 changed file(s) with 9 addition(s) and 88 deletion(s). Raw diff Collapse all Expand all
+0
-13
.npmignore less more
0 *.*~
1 *.seed
2 *.log
3 *.csv
4 *.dat
5 *.out
6 *.swp
7 *.pid
8 *.gz
9 *.tgz
10 *.lock
11
12 .travis.yml
2727 The result of [require][13] is a 'function()' that when invoked, will return a
2828 [Readable][11] [Stream][12].
2929
30 ```
30 ```js
3131 var streamify = require('stream-array');
3232 ```
3333
3535 stream can handle it. Each element in the array will be [pushed][14] into the
3636 [piped][15] stream, **without** modifying the source array.
3737
38 ```
38 ```js
3939 var readable = streamify(['Hello', new Buffer('World')]);
4040 ```
4141
4242 This [Stream][12] will [push][14] each element of the source array into the
4343 [piped][15] array.
4444
45 ```
45 ```js
4646 readable(['1', '2', '3', os.EOL]).pipe(process.stdout);
4747 ```
4848
0 node-stream-array (1.1.2+~1.1.0+git20160430.1.707f590-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Tue, 20 Dec 2022 13:44:14 -0000
5
06 node-stream-array (1.1.2+~1.1.0-1) unstable; urgency=medium
17
28 * Team upload
+0
-21
types-stream-array/LICENSE less more
0 MIT License
1
2 Copyright (c) Microsoft Corporation. All rights reserved.
3
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 SOFTWARE
+0
-16
types-stream-array/README.md less more
0 # Installation
1 > `npm install --save @types/stream-array`
2
3 # Summary
4 This package contains type definitions for stream-array (https://github.com/mimetnet/node-stream-array).
5
6 # Details
7 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-array
8
9 Additional Details
10 * Last updated: Tue, 09 Oct 2018 17:57:22 GMT
11 * Dependencies: node
12 * Global values: none
13
14 # Credits
15 These definitions were written by Tyler Murphy <https://github.com/Tyler-Murphy>.
+0
-11
types-stream-array/index.d.ts less more
0 // Type definitions for stream-array 1.1
1 // Project: https://github.com/mimetnet/node-stream-array
2 // Definitions by: Tyler Murphy <https://github.com/Tyler-Murphy>
3 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
4 /// <reference types="node" />
5
6 import { Readable } from 'stream';
7
8 declare function streamify(array: ReadonlyArray<any>): Readable;
9
10 export = streamify;
+0
-24
types-stream-array/package.json less more
0 {
1 "name": "@types/stream-array",
2 "version": "1.1.0",
3 "description": "TypeScript definitions for stream-array",
4 "license": "MIT",
5 "contributors": [
6 {
7 "name": "Tyler Murphy",
8 "url": "https://github.com/Tyler-Murphy",
9 "githubUsername": "Tyler-Murphy"
10 }
11 ],
12 "main": "",
13 "repository": {
14 "type": "git",
15 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
16 },
17 "scripts": {},
18 "dependencies": {
19 "@types/node": "*"
20 },
21 "typesPublisherContentHash": "1c2ed43f7ccb5659dac107da4ec6e0111acfbef17de64b54581d44be33d34bab",
22 "typeScriptVersion": "2.0"
23 }