1.0.16 • Published 3 years ago
sweet-warning v1.0.16
Sweet warning
This node package will play a sweet sound when the things go wrong
Usage
npx sweet-warningor
npm install -g sweet-warning sweet-warningExamples
Play the default sound once
npx sweet-warningPlay the default sound how many times you want
npx sweet-warning --repeat <times>e.g
npx sweet-warning --repeat 5Play the default sound until ...
npx sweet-warning --infiniteUsing in a node project
// package.json
{
"name": "test",
"scripts": {
"build": "tsc || npx sweet-warning"
}
}You can also set a custom sound using a .wav file and the --filepath flag
npx sweet-warning --filename ./meu-deus-do-ceu-berg.wav