Your usual progress bar, but this time it is displayed within the terminal's title, which is much simpler
npm install --save progress-title
This package is published with the following editions:
progress-title/source/index.jsis esnext source code with require for modules
Environments older than Node.js v8 may need Babel's Polyfill or something similar.
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:
const Progress =// Create the progress session, you can pass configuration into the create method// see the API Documentation for detailsconst progress = Progress// When you are ready to start progress updatesprogressstart// To write a progress update, you should call these manually// as otherwise everything will be too quick to seeprogress// => message Aprogress// => message B [50% — 1 running]progress// => message C [50% — 5 running]// To finish the progress updatesprogress
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
- Copyright © 2018+ Benjamin Lupton
and licensed under: