https://github.com/revolunet/ora-promise
Use ora to monitor your promises execution time
https://github.com/revolunet/ora-promise
cli nodejs promise
Last synced: 2 months ago
JSON representation
Use ora to monitor your promises execution time
- Host: GitHub
- URL: https://github.com/revolunet/ora-promise
- Owner: revolunet
- Created: 2018-03-09T00:45:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T00:45:29.000Z (over 8 years ago)
- Last Synced: 2025-03-24T06:58:53.995Z (over 1 year ago)
- Topics: cli, nodejs, promise
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ora-promise
Use [ora](https://github.com/sindresorhus/ora) to monitor your promises execution time
Some 💅 for your CLI

## install
```sh
npm i ora-promise
```
## usage
```js
const spinner = require('ora-promise');
spinner('generating video...', getSomePromise).then(console.log).catch(console.log)
```
See [./example.js](./example.js)