animate-tty
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "animate-tty", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Animate things like progress bars on the tty", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
## usage | ||
```js | ||
var animator = require('progress-log')([opts, ]animateFn) | ||
var animator = require('animate-tty')([opts, ]animateFn) | ||
``` | ||
@@ -36,3 +36,3 @@ After `animator.start()` the string returned by `animateFn` is updated to the | ||
```js | ||
var animator = require('progress-log')(function (runtime) { | ||
var animator = require('animate-tty')(function (runtime) { | ||
return 'Elapsed: '+ Math.floor(runtime / 1000) +' s\n'+ 'Data: ' + Math.random() | ||
@@ -39,0 +39,0 @@ }) |
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
3900
8
88