π Powerful TypeScript utility toolkit for modern web development
In Deno you can either import code inside a file directly or go through an import map.
- Using imports (import map)
Add it to your imports:
deno add @edouardmisset/utils
Then import it in you files:
// The entire lib
import * as mod from '@edouardmisset/utils'
// Only selected function
import { capitalize } from '@edouardmisset/utils'
- Directly in file
Import it in your file:
// The entire lib
import * as mod from 'jsr:@edouardmisset/utils'
// Or fix a specific version
import * as mod from 'jsr:@edouardmisset/[email protected]'
// Only selected function
import { capitalize } from 'jsr:@edouardmisset/[email protected]'
# npm
npx jsr add @edouardmisset/utils
# yarn (version 3+ includes dlx subcommand)
yarn dlx jsr add @edouardmisset/utils
# pnpm
pnpm dlx jsr add @edouardmisset/utils
# bun
bunx jsr add @edouardmisset/utils
capitalize('hello') // returns "Hello"
This package was built with JSDoc. The autogenerated docs can also be found on the jsr registry.
Feel free to report any issues on GitHub π
PR welcome π
This project draws inspiration and learns from various resources and projects that have contributed to the JavaScript and TypeScript developer community.
- 30 Seconds of Code
- You-Dont-Need-Lodash-Underscore
- TotalTypeScript
- Deno standard library
- And many others...
I am indebted to these projects and communities for their insights, code examples, and continuous support, which have shaped the development of this utility package.
Thank you βοΈ