Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willfarrell/datastream
Commonly used stream patterns for Web Streams API and NodeJS Streams
https://github.com/willfarrell/datastream
nodejs-stream stream streams web-stream
Last synced: 2 months ago
JSON representation
Commonly used stream patterns for Web Streams API and NodeJS Streams
- Host: GitHub
- URL: https://github.com/willfarrell/datastream
- Owner: willfarrell
- License: mit
- Created: 2022-06-20T04:22:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T18:45:02.000Z (3 months ago)
- Last Synced: 2024-10-27T12:22:47.028Z (2 months ago)
- Topics: nodejs-stream, stream, streams, web-stream
- Language: JavaScript
- Homepage: https://datastream.js.org
- Size: 3.91 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
<datastream>
Commonly used stream patterns for Web Streams API and NodeJS Stream.
If you're iterating over an array more than once, it's time to use streams.
Warning: This library is in Alpha, and will contain breaking changes as modules mature to have consistent usage patterns.
## Roadmap
- Documentation
- Extend Modules
- core
- merge - connect multiple readable into one stream (see fetch)
- New Modules
- json
- parse - https://github.com/jimhigson/oboe.js / https://github.com/dscape/clarinet
- parseChunk (json-stream notation) - fastify/secure-json-parse
- format
- formatChunk (json-stream notation) - fastify/fast-json-stringify
- https://github.com/uhop/stream-json
- https://github.com/creationix/jsonparse
- https://github.com/dominictarr/JSONStream
- https://www.npmjs.com/package/json-stream - string chunk -> look for \n -> JSON.parse
- Maybe Future- compression
- zstd - simple-zstd (NodeStream)
- protobuf - protobufjs / pbf - https://buf.build/blog/protobuf-es-the-protocol-buffers-typescript-javascript-runtime-we-all-deserve- encryption
- encrypt [transform]
- decrypt [transform]
- ipfs
- readable - get
- writable - add https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/FILES.md#ipfsadddata-options
https://github.com/ipfs/js-datastore-s3/blob/master/examples/full-s3-repo/index.js
// https://github.com/ipfs-examples/js-ipfs-examples/blob/master/examples/browser-add-readable-stream/src/index.js
- xml
- parse - https://github.com/isaacs/sax-js / KeeeX/sax-js
- format
- type
- pg - obj to db types