A helpful JavaScript utility library.
Features
- No dependencies
- Immutable methods
- TypeScript support
- IntelliSense support
- Lightweight (~3kB gzipped)
- Well-tested (75+ test cases)
- Methods for strings, numbers, arrays, objects, and sets
Installation
To install Ajuda, run the following command:
npm i ajuda
Usage
import { string, number } from 'ajuda'
string.reverse("dlrow olleh")
// "hello world"
let n = number
n.range(1, 5)
// [1, 2, 3, 4, 5]
You can go ahead and read the full documentation for all methods.