{"metapak":{"configs":["main","tsesm","jest","readme","eslint","ghactions","jsdocs"],"data":{"files":"'src/**/*.ts'","testFiles":"'src/**/*.test.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"plexer","version":"4.0.1","description":"Create a duplex stream from a readable and a writable stream.","homepage":"https://github.com/nfroidure/plexer","main":"dist/index.js","scripts":{"build":"rimraf 'dist' && tsc --outDir dist","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","cli":"env NODE_ENV=${NODE_ENV:-cli}","commitlint":"commitlint","cover":"node --run jest -- --coverage","doc":"echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md","format":"node --run prettier","jest":"NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest","lint":"eslint 'src/**/*.ts'","metapak":"metapak","precommit":"node --run test && node --run lint && node --run metapak -- -s && node --run build && node --run doc","prettier":"prettier --write 'src/**/*.ts'","preversion":"node --run test && node --run lint && node --run build && node --run doc && node --run metapak -- -s","rebuild":"swc ./src -s -d dist -C jsc.target=es2022","test":"node --run jest","version":"node --run changelog"},"repository":{"type":"git","url":"git+https://github.com/nfroidure/plexer.git"},"keywords":["duplexer","streaming","stream2","stream","readable","writable","async","pipe"],"devDependencies":{"@commitlint/cli":"^20.5.0","@commitlint/config-conventional":"^20.5.0","@eslint/js":"^10.0.1","@swc/cli":"^0.8.1","@swc/core":"^1.15.24","@swc/jest":"^0.2.39","conventional-changelog":"^7.2.0","eslint":"^10.2.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jest":"^29.15.1","eslint-plugin-prettier":"^5.5.5","jest":"^30.3.0","jsdoc-to-markdown":"^9.1.3","metapak":"^7.1.0","metapak-nfroidure":"22.1.1","prettier":"^3.8.1","rimraf":"^6.1.3","streamtest":"^4.0.0","typescript":"^6.0.2","typescript-eslint":"^8.58.0"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"engines":{"node":">=24.14.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/plexer/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/plexer/issues"},"dependencies":{"yerror":"^11.0.0"},"license":"MIT","prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"type":"module","types":"dist/index.d.ts","jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".ts"]},"funding":{"type":"individual","url":"https://github.com/sponsors/nfroidure"},"overrides":{"typescript-eslint":{"typescript":"^6"},"@typescript-eslint/eslint-plugin":{"typescript":"^6"},"@typescript-eslint/parser":{"typescript":"^6"}},"gitHead":"d317020732bd3e8087c585d9bd4f418b7a133ac9","_id":"plexer@4.0.1","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-TUYY2kay56KdbrY8LNh5bu6nrgl/LtF+3t7pBzpZXoYL7R0/190qDJRwrp8IT+H+Q63d+TxrzM3b4eshMtZl0A==","shasum":"27a64c0a80ac7c7df18a6fa284fd3f5c69e9bd93","tarball":"http://registry-npm.ywwl.com/plexer/download/plexer-4.0.1.tgz","fileCount":12,"unpackedSize":94991,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC/QkiHQpkIO2nRV8o2dv7PQwjhUieWQVeaKPHj3Hc5/gIhAP0JJzBHu74Tlga/bg+eTWDwyGFtpkO2Ec2QEHAi0/50"}],"size":11795,"noattachment":false,"key":"/plexer/-/plexer-4.0.1.tgz"},"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plexer_4.0.1_1775557479285_0.8755283230960418"},"_hasShrinkwrap":false,"readme":"[//]: # ( )\n[//]: # (This file is automatically generated by a `metapak`)\n[//]: # (module. Do not change it  except between the)\n[//]: # (`content:start/end` flags, your changes would)\n[//]: # (be overridden.)\n[//]: # ( )\n# plexer\n> Create a duplex stream from a readable and a writable stream.\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/plexer/blob/main/LICENSE)\n\n\n[//]: # (::contents:start)\n\n## Stats\n\n[![NPM](https://nodei.co/npm/plexer.png?downloads=true&stars=true)](https://nodei.co/npm/plexer/)\n[![NPM](https://nodei.co/npm-dl/plexer.png)](https://nodei.co/npm/plexer/)\n\n## Contributing\n\nFeel free to pull your code if you agree with publishing it under the MIT\nlicense.\n\n[//]: # (::contents:end)\n\n# API\n## Classes\n\n<dl>\n<dt><a href=\"#Duplexer\">Duplexer</a></dt>\n<dd><p>Create a duplex stream from a readable and a writable stream.cd</p>\n</dd>\n</dl>\n\n## Functions\n\n<dl>\n<dt><a href=\"#createObjectsDuplexer\">createObjectsDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream)</a> ⇒</dt>\n<dd><p>A shortcut for <code>new Duplexer({objectMode: true}, writable, readable)</code>.</p>\n</dd>\n<dt><a href=\"#createDuplexer\">createDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream)</a> ⇒</dt>\n<dd><p>A functional version of Duplexer.</p>\n</dd>\n</dl>\n\n<a name=\"Duplexer\"></a>\n\n## Duplexer\nCreate a duplex stream from a readable and a writable stream.cd\n\n**Kind**: global class  \n<a name=\"new_Duplexer_new\"></a>\n\n### new Duplexer(optionsOrWritableStream, writableStreamOrReadableStream, a)\nCreates the Duplexer instance\n\n**Returns**: Duplexer  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| optionsOrWritableStream |  | options or the writable stream |\n| writableStreamOrReadableStream |  | writable or readable stream |\n| a | <code>maybeReadableStream</code> | readable stream |\n\n<a name=\"createObjectsDuplexer\"></a>\n\n## createObjectsDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream) ⇒\nA shortcut for `new Duplexer({objectMode: true}, writable, readable)`.\n\n**Kind**: global function  \n**Returns**: Duplexer  \n\n| Param |\n| --- |\n| optionsOrWritableStream | \n| writableStreamOrReadableStream | \n| maybeReadableStream | \n\n<a name=\"createDuplexer\"></a>\n\n## createDuplexer(optionsOrWritableStream, writableStreamOrReadableStream, maybeReadableStream) ⇒\nA functional version of Duplexer.\n\n**Kind**: global function  \n**Returns**: Duplexer  \n\n| Param |\n| --- |\n| optionsOrWritableStream | \n| writableStreamOrReadableStream | \n| maybeReadableStream | \n\n\n# Authors\n- [Nicolas Froidure](http://insertafter.com/en/index.html)\n\n# License\n[MIT](https://github.com/nfroidure/plexer/blob/main/LICENSE)\n","publish_time":1775557479456,"_cnpm_publish_time":1775557479456,"dist-tags":{"latest":"4.0.1"}}