@noaignite/utils
Framework-agnostic utilities. Use these for small, reusable building blocks that keep common logic consistent across projects.
Installation
@noaignite/utils is available as an npm package .
// with pnpm
pnpm add @noaignite/utils
// with yarn
yarn add @noaignite/utils
// with npm
npm install @noaignite/utilsAvailable exports
- assert
- calculateContrast
- calculateLuminance
- capitalize
- chunk
- clamp
- colorContrast
- createBatchedCallback
- debounce
- deepmerge
- hasNonNullableValues
- hexToRGB
- isObject
- isPlainObject
- lerp
- mapRange
- normalize
- normalizeToArray
- objectFromURLSearchParams
- omit
- pick
- random
- range
- sleep
- toggleArrayValue
- toRootRelativePath
- traverse
- URLSearchParamsFromObject
Documentation
Visit https://noaignite.dev/utils to view the full documentation.
Contributing
Read the contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.
Changelog
The changelog is regularly updated to reflect what’s changed in each new release.
License
This project is licensed under the terms of the MIT license .