</>PackageGraphPackageGraph

split2

npmv4.2.0

split 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

17 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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)

binary-split ^1.0.3callback-stream ^1.1.0fastbench ^1.0.0nyc ^15.0.1pre-commit ^1.1.2standard ^17.0.0tape ^5.0.0

Used by

Popular packages that depend on split2.

Relationship graph

Dependencies (left) and dependents (right) of split2.

fastify@wdio/utilssplit2
split2 dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 103 days apart.

Recent versions of split2
VersionPublishedSizeLicense
4.2.0latest3 years ago17 KBISC
4.1.04 years ago17 KBISC
4.0.04 years ago17 KBISC
3.2.26 years ago17 KBISC
3.2.16 years ago17 KBISC
3.2.06 years ago27 KBISC
3.1.17 years ago16 KBISC
3.1.07 years ago15 KBISC
3.0.08 years ago14 KBISC
2.2.09 years agoISC
2.1.19 years agoISC
2.1.010 years agoISC
2.0.110 years agoISC
2.0.010 years agoISC
1.1.110 years agoISC

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.