arusanov / typedash

πŸš€ 2KB lodash in typescript

Home Page:https://arusanov.github.io/typedash/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lodash in TypeScript

NPM version Build Status Coverage Status Greenkeeper badge gzip size

Minimal (and naive) implementation subset of lodash functions in typescript. Implemented only most commonly used function in a very simple way. No excessive checks are made (trust the compiler), most edge cases (like unicode codepoints) are ignored. Can be used with tree shaking bundlers like rollup/webpack.

Installation

Using npm:

$ npm i typedash

Usage

From TypeScript/es6 (using webpack2 or rollup)

import {noop} from 'typedash'

noop()

From nodejs

const {noop} = require('typedash')

noop()

Full documentation

About

πŸš€ 2KB lodash in typescript

https://arusanov.github.io/typedash/

License:MIT License


Languages

Language:TypeScript 87.6%Language:JavaScript 12.4%