stdin-discarder
npmv0.3.2TypeScriptDiscard 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.
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 >=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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| stdin-discarderthis page | 0 | 1 | MIT | 4 months ago |
| has-flag | 166.9M | 1 | MIT | 17 hours ago |
| open | 130.4M | 4 | MIT | 14 hours ago |
| is-wsl | 117.6M | 4 | MIT | 19 hours ago |
| @standard-schema/spec | 99.1M | 9 | MIT | 16 hours ago |
| meow | 36.7M | 1 | MIT | 18 hours ago |
Dependencies
Declared by stdin-discarder v0.3.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (3)
Used by
Popular packages that depend on stdin-discarder.
Relationship graph
Dependencies (left) and dependents (right) of stdin-discarder.
Frequently installed together
TypeScript definitions for node
Get the visual width of a string - the number of columns required to display it
Spinners for use in the terminal
Colored symbols for various log levels. Example: `✔︎ Success`
Release history
3 releases in the last two years, typically about 96 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.3.2latest | 4 months ago | 4.5 KB | MIT |
| 0.3.1 | 8 months ago | 4.5 KB | MIT |
| 0.3.0 | 10 months ago | 4.5 KB | MIT |
| 0.2.2 | 2 years ago | 3.9 KB | MIT |
| 0.2.1 | 2 years ago | 3.9 KB | MIT |
| 0.2.0 | 2 years ago | 3.9 KB | MIT |
| 0.1.0 | 4 years ago | 4.8 KB | MIT |
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
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.