@stayradiated/slog
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Slog

Track how long an async task is taking

Installation

npm install @stayradiated/slog

Usage

import slog from '@stayradiated/slog'
import execa from 'execa'

await slog(
  'Installing dependencies',
  execa('npm', ['install'])
)

/*
Installing dependencies (0:00)
Installing dependencies (0:01)
Installing dependencies (0:02)
Installing dependencies (0:03) ✓
*/

Package Sidebar

Install

npm i @stayradiated/slog

Weekly Downloads

0

Version

1.4.0

License

MIT

Unpacked Size

86.5 kB

Total Files

6

Last publish

Collaborators

  • stayradiated