Skip to content

Suppress Node.js deprecation warnings

1 min read
process.removeAllListeners('warning')

Useful when a dependency spams deprecation warnings you can’t fix. Don’t use this in production. Those warnings exist for a reason.