gladknee
TypeScript icon, indicating that this package has built-in type declarations

1.13.1 • Public • Published

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/

/gladknee/

    Package Sidebar

    Install

    npm i gladknee

    Weekly Downloads

    70

    Version

    1.13.1

    License

    ISC

    Unpacked Size

    113 kB

    Total Files

    4

    Last publish

    Collaborators

    • gladney