Skip to content

stagas/task-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

task-progress

Shows native OS task progress for node apps (wherever supported).

Could be used for downloaders, load indicators or any kind of metrics.

Installing

$ npm install task-progress

Using

Just one function, progress(n) where n is a number in the range 0-100.

It removes itself when passed anything outside that range.

var progress = require('task-progress')

process.title = 'My app'

progress(15) // changes title to: `{15%} My app`

progress(100) // resets title back to: `My app`

License

MIT

About

Shows native OS task progress for node apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published