Gladknee is an open-source utility library of 100+ useful functions written in TypeScript.
- Abstractions of commonly needed functionality (i.e. lowerCaseNoSpaces, debounce, pause, etc)
- Safe alternatives to JavaScript weirdness (i.e. sorting negative numbers)
- Abstractions of common browser-related functionality (i.e. cookies, geolocation, saving files, etc)
- Abstractions of computer-sciency things (i.e. sorting algorithms, queues, stacks, etc)
- Custom classes that are just re-hashings of existing classes (i.e. "Sequence" instead of array)
- Custom functions that are just re-hashings of existing functions (i.e. array.includes())
- Abstractions of things you don't need a library for (i.e. get element from array at index N)
- Type checking in JavaScript
To add to your project, just run npm install gladknee
To use any functions from the library, simply import the specific function(s) you wish to use where needed.
import { memoize } from "gladknee"
const memoizedFunction = memoize(someFunction)
You can read the full documentation with a complete list of functions with examples at https://gladknee.readme.io/