-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Caligo
committed
Mar 4, 2022
1 parent
1f20aca
commit c1fc439
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ $ pnpm install @retraigo/duration.js # PNPM | |
import Duration from "@retraigo/duration.js"; // Node | ||
import Duration from "https://deno.land/x/[email protected]/index.js" // Deno | ||
|
||
const Duration = await import("@retraigo/duration.js") // Node with CommonJS | ||
|
||
new Duration(); // Get duration since midnight | ||
|
||
new Duration(3545346); // A random duration | ||
|