partial-stream
Extract the first part of a stream based on a separator
Install
Installation of the npm package:
> npm install --save partial-stream
Usage
In this example, the header section of an HTTP response is extracted from the raw response.
const contentStream = rawHttpResponse
Development
Installing dependencies
> npm install
Compilation
The sources files are watched and automatically recompiled on changes.
> npm run dev
Tests
> npm run test-dev
Contributions
Contributions are very welcomed, either on the documentation or on the code.
You may:
- report any issue you've encountered;
- fork and create a pull request.
License
${pkg.license} © Julien Fontanet