4.8.0 • Published 4 months ago

progress-title v4.8.0

Weekly downloads
56
License
Artistic-2.0
Repository
github
Last release
4 months ago

Your usual progress bar, but this time it is displayed within the terminal's title, which is much simpler

npm

This project provides its type information via inline JSDoc Comments. To make use of this in TypeScript, set your maxNodeModuleJsDepth compiler option to 5 or thereabouts. You can accomlish this via your tsconfig.json file like so:

{
  "compilerOptions": {
    "maxNodeModuleJsDepth": 5
  }
}

Usage

API Documentation.

const Progress = require('progress-title')

// Create the progress session, you can pass configuration into the create method
// see the API Documentation for details
const progress = Progress.create()

// When you are ready to start progress updates
progress.start()

// To write a progress update, you should call these manually
// as otherwise everything will be too quick to see
progress.update('message A')
// => message A
progress.update('message B', { total: 2, done: 1, executing: 1 })
// => message B [50% — 1 running]
progress.update('message C', { total: 10, completed: 5, running: 5 })
// => message C [50% — 5 running]

// To finish the progress updates
progress.stop()

Discover the release history by heading on over to the HISTORY.md file.

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

These amazing people are maintaining this project:

No sponsors yet! Will you be the first?

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Unless stated otherwise all works are:

and licensed under:

4.8.0

4 months ago

4.6.0

4 months ago

4.7.0

4 months ago

4.4.0

5 months ago

4.0.0

6 months ago

4.2.0

6 months ago

3.18.0

6 months ago

4.5.0

5 months ago

4.1.0

6 months ago

4.3.0

6 months ago

3.17.0

3 years ago

3.15.0

3 years ago

3.16.0

3 years ago

3.14.0

4 years ago

3.13.0

4 years ago

3.12.0

4 years ago

3.11.0

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.0

4 years ago

3.7.0

4 years ago

3.6.0

4 years ago

3.4.0

4 years ago

3.5.0

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago