warn-once
npmv0.1.1TypeScriptShow a warning once
Overview
warn-once is an npm package that show a warning once. It is very popular, with about 6.4M downloads per week and 1 known dependents in the graph. The latest version is 0.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need show a warning once and value a battle-tested, widely-adopted 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
- Large, well-established user base (6.4M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of warn-once.
Used by
Popular packages that depend on warn-once.
Frequently installed together
A framework for building native apps using React
React is a JavaScript library for building user interfaces.
TypeScript definitions for react
React Freeze
More powerful alternative to Animated library for React Native.
Declarative API exposing native platform touch and gesture system to React Native
TypeScript definitions for react-test-renderer
Metro configuration for React Native.
React Native CLI
Delightful JavaScript Testing.
Prettier is an opinionated code formatter
An AST-based pattern checker for JavaScript.
Version history
| Version | Published | License |
|---|---|---|
| 0.1.1latest | 4 years ago | MIT |
| 0.1.0 | 5 years ago | MIT |
| 0.0.1 | 5 years ago | MIT |
Maintainers
Frequently asked questions
How do I install warn-once?
Run `npm install warn-once` to add warn-once to your npm project.
What license is warn-once released under?
warn-once is distributed under the MIT license.
How popular is warn-once?
warn-once has approximately 6,420,450 downloads per week and 1 known dependent packages.