1.4.0 • Published 5 years ago

@stayradiated/slog v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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) ✓
*/