Note: this project is under active development, DO NOT USE IN PRODUCTION
General utilities for Web development
browserIsIE()
browserIsSupported()
copyToClipboard(content: string)
getCookie(name: string)
hasTimeZoneSupport()
isValidSecureUrl(url: string)
prefetchImages(url: string|string[])
storageAvailable(type: 'localStorage' | 'sessionStorage')
getNextPath(router?: Router)
- returns the value of?next
query param or/
isString(value: string | LocationQueryValue[])
pnpm add @slipmatio/toolbelt
Browser tools: import { tool } from @slipmatio/toolbelt
Vue tools (vue
and vue-router
required): import { tool } from @slipmatio/toolbelt/vue
pnpm i
pnpm dev
Type check: pnpm ts
pnpm test
- Run the backend:
uv run uvicorn api:app --reload
pnpm test:e2e
Bump version number in package.json
, merge to main.
Contributions are welcome! Please follow the code of conduct when interacting with others.
Follow @uninen on Twitter