https://github.com/tortitast/dimers
Deno timers utility library
https://github.com/tortitast/dimers
deno
Last synced: about 2 months ago
JSON representation
Deno timers utility library
- Host: GitHub
- URL: https://github.com/tortitast/dimers
- Owner: TortitasT
- Created: 2023-01-17T16:43:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T18:18:37.000Z (over 3 years ago)
- Last Synced: 2024-12-30T20:14:58.286Z (over 1 year ago)
- Topics: deno
- Language: TypeScript
- Homepage: https://deno.land/x/dimers
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dimers
Deno timers utility library.
## Usage
```ts
import { Timer, Magnitude } from "https://deno.land/x/dimers/mod.ts";
const timer = new Timer(
()=>{
console.log("Hello World!");
})
.add(1, Magnitude.Seconds)
.start();
```