first-chunk-stream
Version:
Buffer and transform the n first bytes of a stream
53 lines (52 loc) • 950 B
JSON
{
"name": "first-chunk-stream",
"version": "6.0.0",
"description": "Buffer and transform the n first bytes of a stream",
"license": "MIT",
"repository": "sindresorhus/first-chunk-stream",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=18"
},
"scripts": {
"test": "xo && nyc ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"buffer",
"stream",
"streams",
"transform",
"first",
"chunk",
"size",
"minimum",
"bytes"
],
"dependencies": {
"uint8array-extras": "^0.5.0"
},
"devDependencies": {
"@types/node": "^20.8.10",
"ava": "^3.15.0",
"nyc": "^15.1.0",
"streamtest": "^2.0.0",
"tsd": "^0.29.0",
"xo": "^0.56.0"
},
"xo": {
"rules": {
"ava/no-unknown-modifiers": "off"
}
}
}