@goodnight-dev/utils
v0.4.2
Published
The complete @goodnight-dev utility suite — import everything or by subpath.
Maintainers
Readme
@goodnight-dev/utils
The complete @goodnight-dev utility
suite — import everything, or by subpath.
Strict, modern, ESM-only TypeScript. Fully typed and tree-shakable.
Install
pnpm add @goodnight-dev/utilsUsage
// the whole suite
import { capitalize } from '@goodnight-dev/utils';
// or by area, via subpath
import { capitalize } from '@goodnight-dev/utils/string';Want the smallest possible dependency surface? Install the area packages
directly (e.g.
@goodnight-dev/string)
— they're versioned independently and re-exported here.
Subpaths
| Import | Re-exports |
| -------------------------------- | -------------------------- |
| @goodnight-dev/utils | everything below |
| @goodnight-dev/utils/predicate | @goodnight-dev/predicate |
| @goodnight-dev/utils/string | @goodnight-dev/string |
License
MIT © Ian Goodnight
