Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfware/suppress-experimental
Block Node.js experimental warnings from the current process
https://github.com/cfware/suppress-experimental
Last synced: 29 days ago
JSON representation
Block Node.js experimental warnings from the current process
- Host: GitHub
- URL: https://github.com/cfware/suppress-experimental
- Owner: cfware
- License: mit
- Created: 2021-02-26T13:05:47.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T01:18:58.000Z (almost 4 years ago)
- Last Synced: 2024-04-23T18:14:58.754Z (8 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# suppress-experimental [![NPM Version][npm-image]][npm-url]
Block Node.js experimental warnings from the current process
## Usage
Get node.js to require this module before any code which would emit experimental
warnings. The best way is to add `--require=suppress-experimental` to the
`NODE_OPTIONS` environment.## Target Use Case
This module is intended for use during testing. This is especially useful when you have
a large number of test files each running in separate processes.## Feature Complete
This module is feature complete and has no dependencies. Future updates are very
unlikely.[npm-image]: https://img.shields.io/npm/v/suppress-experimental.svg
[npm-url]: https://npmjs.org/package/suppress-experimental