A zero-dependency utility library written in TypeScript


Keywords
typescript, utility, numbers, array, sort, object, time, debounce, queue, pause, pipe, zero dependencies, utility-library, zero-dependency
License
ISC
Install
npm install gladknee@1.17.6

Documentation

gladknee 😄🦵

Gladknee is an open-source utility library of 100+ useful functions written in TypeScript.

What this library includes...

  • 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)

What this library does not include...

  • 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

Installation

To add to your project, just run npm install gladknee

Usage

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)

Documentation

You can read the full documentation with a complete list of functions with examples at https://gladknee.readme.io/