Repository
Current version released
5 years ago
Versions
grutils
A bunch of utility functions and other such things.
Usage
You can either import each individual function from their specific file, like so:
import randomElem from "https://deno.land/x/grutils@0.0.4/randomElem.ts"; // the function is a default export so you can call it whatever you want.
console.log(randomElem([1, 2, 3, 4, 5]));or just import individual function from the mod.ts file, like so:
import { randomElem } from "https://deno.land/x/grutils@0.0.4/mod.ts"; // randomElem is not a default export in this case.
console.log(randomElem([1, 2, 3, 4, 5]));Documentation
The documentation is available here