@expo/time

1.0.0 • Public • Published

time

Simple JS timer with logging

Usage:


let time = require('@expo/time');

async function getUrlAsync(url) {

  let tk == time.start();
  let response = fetch(url);
  let responseText = await response.text();
  tk.stop(tk, 'fetch', {message: url, threshold: 10});
  return responseText;

}

Readme

Keywords

none

Package Sidebar

Install

npm i @expo/time

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • schestakov
  • janicduplessis
  • wkozyra
  • barthec
  • quinlanj
  • sjchmiela
  • tsapeta
  • dsokal
  • esamelson
  • expoadmin
  • ide
  • brentvatne
  • nikki93
  • ccheever
  • terribleben
  • jesseruder
  • fson
  • evanbacon