Closed
Description
As an end-user, I don't want to ever see warnings or deprecations. However, when node is invoked from a shell script via a shebang, there is no opportunity to pass the --no-warnings
option to the process.
#!/usr/bin/env node --no-warnings
console.log("you will never get this far, so it doesn't matter if this compiles");
Is there an environment variable that can be set to toggle this option? If not, please add support for something like NODE_NO_WARNINGS=1
.