scally / basic

A standard library for Javascript/Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic

A standard library for Javascript/Typescript

Installation

yarn add @scally/basic

Usage

import { compact } from '@scally/basic'

const withNulls = [1,2,3,null,undefined,4]
console.log(compact(withNulls)) // [1,2,3,4]

Why

  • Javascript's lack of a standard library keeps causing a massive dependency tree. This doesn't help much as no one else but me uses it, but what are you gonna do
  • I was bored and this seemed like a fun kata

License

WTFPL

About

A standard library for Javascript/Typescript

License:Do What The F*ck You Want To Public License


Languages

Language:TypeScript 97.8%Language:JavaScript 2.2%