https://github.com/foxifyjs/stream
A high performance Stream alternative for Node.js and browser
https://github.com/foxifyjs/stream
duplex pipe read readable stream writable write
Last synced: 9 months ago
JSON representation
A high performance Stream alternative for Node.js and browser
- Host: GitHub
- URL: https://github.com/foxifyjs/stream
- Owner: foxifyjs
- License: mit
- Created: 2019-05-17T17:01:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:00:56.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T05:41:04.265Z (9 months ago)
- Topics: duplex, pipe, read, readable, stream, writable, write
- Language: TypeScript
- Homepage: https://foxifyjs.github.io/stream
- Size: 721 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Stream
`@foxify/stream` is a high performance Stream alternative for Node.js and browser that has been optimized to be faster than the native version, (why not?!).
[](https://www.npmjs.com/package/@foxify/stream)
[](https://www.typescriptlang.org)
[](https://www.npmjs.com/package/@foxify/stream)
[](https://www.npmjs.com/package/@foxify/stream)
[](https://github.com/facebook/jest)
[](https://github.com/foxifyjs/stream/pulls)
[](https://github.com/foxifyjs/stream/blob/master/LICENSE)
[](https://travis-ci.com/foxifyjs/stream)
[](https://codecov.io/gh/foxifyjs/stream)
[](http://packagequality.com/#?package=@foxify/stream)
[](https://david-dm.org/foxifyjs/stream)
[](https://www.npmjs.com/package/@foxify/stream)
[](https://www.npmjs.com/package/@foxify/stream)
[](https://github.com/foxifyjs/stream/issues?q=is%3Aopen+is%3Aissue)
[](https://github.com/foxifyjs/stream/issues?q=is%3Aissue+is%3Aclosed)
[](https://snyk.io/test/github/foxifyjs/stream?targetFile=package.json)
[](https://github.com/foxifyjs/stream)
[](https://github.com/foxifyjs/stream)
This module is API compatible with the Stream that ships by default with Node.js but there are some slight differences:
- Uses [`@foxify/events`](https://github.com/foxifyjs/events) as the EventEmitter.
- The `emitClose` option is not available.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Benchmarks](#benchmarks)
- [Versioning](#versioning)
- [Authors](#authors)
- [License](#license)
## Installation
```bash
npm i @foxify/stream
```
## Usage
```js
const { Readable, Writable, Duplex } = require("@foxify/stream");
```
For the API documentation, please follow the official Node.js [documentation](https://nodejs.org/api/stream.html).
## Benchmarks
```bash
npm run benchmarks
```
## Versioning
We use [SemVer](http://semver.org) for versioning. For the versions available, see the [tags on this repository](https://github.com/foxifyjs/stream/tags).
## Authors
- **Ardalan Amini** - *Core Maintainer* - [@ardalanamini](https://github.com/ardalanamini)
See also the list of [contributors](https://github.com/foxifyjs/stream/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details