</>PackageGraphPackageGraph

stdin-discarder

npmv0.3.2TypeScript

Discard stdin input except for Ctrl+C

Safe to adopt

Yes — stdin-discarder scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 149 days ago. 3 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 149 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 4.5 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — 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 stdin-discarder 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.

4.5 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 >=18
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the stdin-discarder README.

import stdinDiscarder from 'stdin-discarder';

stdinDiscarder.start();

stdin-discarder vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
stdin-discarderthis page01MIT4 months ago
has-flag166.9M1MIT17 hours ago
open130.4M4MIT14 hours ago
is-wsl117.6M4MIT19 hours ago
@standard-schema/spec99.1M9MIT16 hours ago
meow36.7M1MIT18 hours ago

Dependencies

Declared by stdin-discarder v0.3.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (3)

ava ^6.0.1tsd ^0.29.0xo ^0.56.0

Used by

Popular packages that depend on stdin-discarder.

Relationship graph

Dependencies (left) and dependents (right) of stdin-discarder.

orastdin-discarder
stdin-discarder dependencies dependents

Frequently installed together

Release history

3 releases in the last two years, typically about 96 days apart.

Recent versions of stdin-discarder
VersionPublishedSizeLicense
0.3.2latest4 months ago4.5 KBMIT
0.3.18 months ago4.5 KBMIT
0.3.010 months ago4.5 KBMIT
0.2.22 years ago3.9 KBMIT
0.2.12 years ago3.9 KBMIT
0.2.02 years ago3.9 KBMIT
0.1.04 years ago4.8 KBMIT

Overview

stdin-discarder is an npm package that discard stdin input except for Ctrl+C. It has 1 known dependents in the graph. The latest version is 0.3.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need discard stdin input except for Ctrl+C and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (3 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use stdin-discarder?

Yes — stdin-discarder scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 149 days ago. 3 releases in the last 2 years.

How do I install stdin-discarder?

Run `npm install stdin-discarder` to add stdin-discarder to your npm project.

What license is stdin-discarder released under?

stdin-discarder is distributed under the MIT license.

How popular is stdin-discarder?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on stdin-discarder.

Is stdin-discarder still maintained?

The most recent release of stdin-discarder (v0.3.2) was published 4 months ago.

Does stdin-discarder run install scripts?

No. stdin-discarder does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.