1.0.1 • Published 4 months ago

@maas/magic-timer v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

⏱️ MagicTimer

Event based timer for Node.js and the browser.

📦 Install

# pnpm
pnpm install @maas/magic-timer

# npm
npm install @maas/magic-timer

# yarn
yarn add @maas/magic-timer

🚀 Usage

import { MagicTimer } from '@maas/magic-timer'

const timer = new MagicTimer(1000)

timer.on('tick', (time) => {
  console.log(time)
})

timer.start()

🧱 Contribute

Coming soon

🐛 Found a Bug?

If you see something that doesn't look right, submit a bug report. See it. Say it. Sorted.

1.0.1

4 months ago

1.0.0

7 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago