Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sapphire/stopwatch

sapphiredev18.6kMIT1.5.4TypeScript support: included

Accurately measure passing time.

@sapphire/stopwatch, bot, typescript, ts, yarn, discord, sapphire, standalone

readme

Sapphire Logo

Sapphire Utilities

Common NodeJS packages for Sapphire Repositories and others.

GitHub

Packages

npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm

Buy us some doughnuts

Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!

We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.

Donate With Address
Open Collective Click Here
Ko-fi Click Here
Patreon Click Here
PayPal Click Here

Contributors

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to Sapphire!

changelog

Changelog

All notable changes to this project will be documented in this file.

@sapphire/stopwatch@1.5.3 - (2024-11-02)

🐛 Bug Fixes

  • Move browser imports (100ffb0) (#826 by @kyranet)
  • deps: Update all non-major dependencies (083376a) (#763 by @renovate[bot])
  • deps: Update all non-major dependencies (e7fdc5d) (#752 by @renovate[bot])

📝 Documentation

  • readme: Fix readme table of contents (c60e8bd)

@sapphire/stopwatch@1.5.2 - (2024-01-19)

🐛 Bug Fixes

  • Fixed commonjs typings export mapping (#707) (216ff02)

@sapphire/stopwatch@1.5.1 - (2023-12-04)

🐛 Bug Fixes

  • stopwatch: Properly split CJS, ESM and IIFE (efb156a)
  • Update export mapping for proper ESM/CJS split (dd0cff8)
  • deps: Update all non-major dependencies (#607) (9cc8bd0)
  • deps: Update all non-major dependencies (#577) (291dd67)
  • deps: Update all non-major dependencies (#545) (40ca040)
  • deps: Update all non-major dependencies (#544) (cc78f17)
  • deps: Update all non-major dependencies (#532) (8033d1f)
  • deps: Update all non-major dependencies (#514) (21b07d5)
  • deps: Update all non-major dependencies (#505) (6178296)

📝 Documentation

  • Add @06000208 as a contributor (fa3349e)
  • Add @didinele as a contributor (42ef7b6)
  • Add @goestav as a contributor (0e56a92)
  • Add @CitTheDev as a contributor (34169ea)
  • Add @legendhimslef as a contributor (059b6f1)
  • Add @r-priyam as a contributor (fb278ba)

🧪 Testing

@sapphire/stopwatch@1.5.0 - (2022-10-02)

🏠 Refactor

  • Split @sapphire/time-utilities into 4 sub-packages (#462) (574299a)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (#466) (dc08606)
  • deps: Update all non-major dependencies (e20f299)
  • deps: Update all non-major dependencies (2308bd7)
  • deps: Update all non-major dependencies (84af0db)
  • deps: Update all non-major dependencies (50cd8de)

📝 Documentation

  • Change name of @kyranet (#451) (df4fdef)
  • Update @RealShadowNova as a contributor (a869ba0)
  • Add @muchnameless as a contributor (a1221fe)
  • Add @enxg as a contributor (d2382f0)
  • Add @EvolutionX-10 as a contributor (efc3a32)
  • Add @MajesticString as a contributor (295b3e9)
  • Add @Mzato0001 as a contributor (c790ef2)
  • Add @NotKaskus as a contributor (00da8f1)
  • Add @imranbarbhuiya as a contributor (fb674c2)
  • Add @axisiscool as a contributor (ce1aa31)
  • Add @dhruv-kaushikk as a contributor (ebbf43f)
  • Add @Commandtechno as a contributor (f1d69fa)
  • Fix typedoc causing OOM crashes (63ba41c)

🚀 Features

  • Make @sapphire/stopwatch browser compitible (#470) (a02f23a)

🧪 Testing

  • Migrate to vitest (#380) (075ec73)

1.4.1 (2022-04-01)

Note: Version bump only for package @sapphire/stopwatch

1.4.0 (2022-03-06)

Features

1.3.0 (2022-01-28)

Features

1.2.5 (2022-01-10)

Note: Version bump only for package @sapphire/stopwatch

1.2.4 (2021-11-06)

Note: Version bump only for package @sapphire/stopwatch

1.2.3 (2021-10-17)

Bug Fixes

  • allow more node & npm versions in engines field (5977d2a)

1.2.2 (2021-10-11)

Note: Version bump only for package @sapphire/stopwatch

1.2.1 (2021-10-08)

Bug Fixes

  • stopwatch: properly run postbuild scripts (e022d28)

1.2.0 (2021-10-04)

Features

  • stopwatch: set minimum NodeJS to v14 (8154bb7)

1.1.4 (2021-06-27)

Note: Version bump only for package @sapphire/stopwatch

1.1.3 (2021-06-06)

Bug Fixes

  • remove peer deps, update dev deps, update READMEs (#124) (67256ed)

1.1.2 (2021-05-20)

Bug Fixes

  • stopwatch: mark package as side effect free (332ee5c)

1.1.1 (2021-05-02)

Bug Fixes

  • drop the www. from the SapphireJS URL (494d89f)
  • update all the SapphireJS URLs from .com to .dev (f59b46d)

1.1.0 (2021-04-21)

Features

1.0.8 (2021-04-19)

Bug Fixes

  • change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨‍🌾🚜 (#102) (835b408)

1.0.7 (2021-04-03)

Note: Version bump only for package @sapphire/stopwatch

1.0.6 (2021-03-16)

Bug Fixes

  • stopwatch: add tslib dependency (5e7f690)

1.0.5 (2021-02-16)

Note: Version bump only for package @sapphire/stopwatch

1.0.4 (2021-01-16)

Note: Version bump only for package @sapphire/stopwatch

1.0.3 (2021-01-01)

Note: Version bump only for package @sapphire/stopwatch

1.0.2 (2020-12-26)

Note: Version bump only for package @sapphire/stopwatch

1.0.1 (2020-12-22)

Note: Version bump only for package @sapphire/stopwatch

1.0.0 (2020-12-22)

Features