Comparing version 0.1.1 to 0.2.0
{ | ||
"name": "doomp", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "A alarm voice.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,13 +9,15 @@ # node-doomp | ||
var alarm = require('doomp') | ||
// ... your code ... | ||
// while process exiting | ||
process.on('exit', function () { | ||
// you'll hear DOOMP-DOOMP-DOOMP | ||
alarm(3) | ||
}) | ||
```javascript | ||
var alarm = require('doomp') | ||
// ... your code ... | ||
// while process exiting | ||
process.on('exit', function () { | ||
// you'll hear DOOMP-DOOMP-DOOMP | ||
alarm(3) | ||
}) | ||
``` | ||
PS: max count is 5. | ||
@@ -33,2 +35,4 @@ | ||
sh some_time_script.sh && doomp 3 | ||
```shell | ||
sh some_time_script.sh && doomp 3 | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37
2385