UNPKG

@veramo/cli

Version:
17 lines (15 loc) 434 B
#!/usr/bin/env node const originalEmit = process.emit; process.emit = function (name, data, ...args) { if ( name === `warning` && typeof data === `object` && data.name === `ExperimentalWarning` //if you want to only stop certain messages, test for the message here: //&& data.message.includes(`Fetch API`) ) { return false; } return originalEmit.apply(process, arguments); }; import '../build/cli.js'