1.0.16 • Published 2 years ago

sweet-warning v1.0.16

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
2 years ago

Licence npm version npm .github/workflows/release_on_npm.yml .github/workflows/test.yml

Sweet warning

This node package will play a sweet sound when the things go wrong

Usage

  npx sweet-warning

or

  npm install -g sweet-warning
  sweet-warning

Examples

Play the default sound once

  npx sweet-warning

Play the default sound how many times you want

  npx sweet-warning --repeat <times>

e.g

  npx sweet-warning --repeat 5

Play the default sound until ...

  npx sweet-warning --infinite

Using 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
1.0.16

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.0

2 years ago