split2
npmv4.2.0split a Text Stream into a Line Stream, using Stream 3
Not recommended for new projects
No — split2 should not be adopted for new projects. Last published 1263 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1263 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 17 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
ISC — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding split2 to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >= 10.x
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the split2 README.
fs.createReadStream(file)
.pipe(split2())
.on('data', function (line) {
//each chunk now is a separate line!
})Dependencies
Declared by split2 v4.2.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (7)
Used by
Popular packages that depend on split2.
Relationship graph
Dependencies (left) and dependents (right) of split2.
Frequently installed together
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Get an available port
Mozilla's Geckodriver for Node.js
Utility to wait for a TCP port to open.
An NPM wrapper for handling the Safaridriver binary.
Microsofts' EdgeDriver for Node.js
Download and launch browsers
Find apps installed on your system. This util will help to find executables of a known app like Chrome, Firefox,... on Windows, Linux, and macOS out of the box.
A helper utility for logging of WebdriverIO packages
Utility package providing type information for a variety of WebdriverIO interfaces
Resolve things like Node.js — ponyfill for `import.meta.resolve`
An HTTP/1.1 client, written from scratch for Node.js
Release history
No releases in the last two years, typically about 103 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.2.0latest | 3 years ago | 17 KB | ISC |
| 4.1.0 | 4 years ago | 17 KB | ISC |
| 4.0.0 | 4 years ago | 17 KB | ISC |
| 3.2.2 | 6 years ago | 17 KB | ISC |
| 3.2.1 | 6 years ago | 17 KB | ISC |
| 3.2.0 | 6 years ago | 27 KB | ISC |
| 3.1.1 | 7 years ago | 16 KB | ISC |
| 3.1.0 | 7 years ago | 15 KB | ISC |
| 3.0.0 | 8 years ago | 14 KB | ISC |
| 2.2.0 | 9 years ago | — | ISC |
| 2.1.1 | 9 years ago | — | ISC |
| 2.1.0 | 10 years ago | — | ISC |
| 2.0.1 | 10 years ago | — | ISC |
| 2.0.0 | 10 years ago | — | ISC |
| 1.1.1 | 10 years ago | — | ISC |
Overview
split2 is an npm package that split a Text Stream into a Line Stream, using Stream 3. It has 2 known dependents in the graph. The latest version is 4.2.0, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need split a Text Stream into a Line Stream, using Stream 3 and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (ISC).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use split2?
No — split2 should not be adopted for new projects. Last published 1263 days ago.
How do I install split2?
Run `npm install split2` to add split2 to your npm project.
What license is split2 released under?
split2 is distributed under the ISC license.
How popular is split2?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on split2.
Is split2 still maintained?
The most recent release of split2 (v4.2.0) was published 3 years ago.
Does split2 run install scripts?
No. split2 does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.