add logging function
This commit is contained in:
parent
6694c7eb9a
commit
95ac45b5aa
2 changed files with 25 additions and 0 deletions
|
@ -3,3 +3,12 @@
|
|||
A collection of utility functions and classes extending base JavaScript.
|
||||
|
||||
Intended for the Deno runtime.
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { log_from, range } from "https://git.barnulf.net/mb/barnulf_ts/raw/branch/master/mod.ts"
|
||||
const log = log_from(import.meta)
|
||||
|
||||
for (const item of range(0, 10)) log(item)
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue