@types/binary-split 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- binary-split/README.md +24 -1
- binary-split/index.d.ts +1 -1
- binary-split/package.json +4 -3
binary-split/README.md
CHANGED
|
@@ -6,9 +6,32 @@ This package contains type definitions for binary-split (https://github.com/maxo
|
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split.
|
|
9
|
+
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split/index.d.ts)
|
|
10
|
+
````ts
|
|
11
|
+
// Type definitions for binary-split 1.0
|
|
12
|
+
// Project: https://github.com/maxogden/binary-split#readme
|
|
13
|
+
// Definitions by: Krisztián Balla <https://github.com/krisztianb>
|
|
14
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
15
|
+
// Minimum TypeScript Version: 3.2
|
|
16
|
+
|
|
17
|
+
/// <reference types="node" />
|
|
18
|
+
|
|
19
|
+
import { Transform } from "stream";
|
|
20
|
+
|
|
21
|
+
export = BinarySplit;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Split streams of binary data.
|
|
25
|
+
* @param splitOn The matcher for the splitting points in the stream. Default: os.EOL
|
|
26
|
+
*/
|
|
27
|
+
declare function BinarySplit(
|
|
28
|
+
splitOn?: string | Buffer | ArrayBuffer | SharedArrayBuffer | number[] | BigInt[] | Uint8Array | object,
|
|
29
|
+
): Transform;
|
|
30
|
+
|
|
31
|
+
````
|
|
9
32
|
|
|
10
33
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
34
|
+
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT
|
|
12
35
|
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
|
13
36
|
* Global values: none
|
|
14
37
|
|
binary-split/index.d.ts
CHANGED
binary-split/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/binary-split",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "TypeScript definitions for binary-split",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/binary-split",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"contributors": [
|
|
7
8
|
{
|
|
@@ -21,6 +22,6 @@
|
|
|
21
22
|
"dependencies": {
|
|
22
23
|
"@types/node": "*"
|
|
23
24
|
},
|
|
24
|
-
"typesPublisherContentHash": "
|
|
25
|
-
"typeScriptVersion": "
|
|
25
|
+
"typesPublisherContentHash": "ef042b40c90489799e8e6d6474f3bf914144e280d49c574eeacd301cded7958b",
|
|
26
|
+
"typeScriptVersion": "4.5"
|
|
26
27
|
}
|