Skip to content

FullR/fb-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fb-dash

A thin wrapper around lodash that allows its functions to be invoked as virtual methods using the proposed function bind syntax.

Install

npm install fb-dash

Example:

import {invoke, takeWhile, sample, each} from "fb-dash";

["foo", "bar", "fizz", "buzzle", "bazz", "baaaaaaaaa"]
  ::takeWhile((s) => s.length < 5)
  ::invoke("replace", "b", "q")
  ::each((s) => console.log(s));

The original lodash object can be accessed via the lodash key in the fodash exports.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published