1.0.3 • Published 8 years ago

fb-dash v1.0.3

Weekly downloads
7
License
-
Repository
github
Last release
8 years ago

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.

1.0.3

8 years ago

1.0.2

8 years ago