0.5.0 • Published 1 year ago

@feltcoop/util v0.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@feltcoop/util

a collection of JS utilities to complement the modern web platform 🦕🐋 util.felt.dev

design:

  • kitchen-sink utilities library (sorry, we wish it weren't so)
  • mix of JS module environments - browser-only, Node-only, universal
  • near-zero non-platform third party dependencies, currently the one exception is kleur
  • all typescript, no svelte or SvelteKit
  • complement the modern web platform, stay evergreen
  • kinda minimal in many ways but also not

usage

npm i -D @feltcoop/util

// a few things are exported from the root:
import {type Result, unwrap} from '@feltcoop/util';

// usually you'll import full module paths:
import {randomInt} from '@feltcoop/util/random.js';

see the available modules at util.felt.dev and src/lib/exports

build

npm run build
# or
gro build

test

For more see uvu and Gro's test docs.

gro test
gro test filepattern1 filepatternB
gro test -- uvu --forwarded_args 'to uvu'

deploy

Deploy (build, commit, and push) to the deploy branch, e.g. for GitHub Pages:

npm run deploy
# or
gro deploy

credits 🐢🐢🐢

depends on kleur

made with SvelteSvelteKitViteesbuilduvuTypeScriptESLintPrettierFeltGro & more

license 🐦

MIT

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago