Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 3.25 KB

index.md

File metadata and controls

62 lines (42 loc) · 3.25 KB

lodash-contrib

The brass buckles on lodash's utility belt - a contributors' library for lodash.

Introduction

Places

Why lodash-contrib?

While lodash provides a bevy of useful tools to support functional programming in JavaScript, it can't (and shouldn't) be everything to everyone. lodash-contrib is intended as a home for functions that, for various reasons, don't belong in lodash proper. In particular, it aims to be:

  • a home for functions that are limited in scope, but solve certain point problems, and
  • a proving ground for features that belong in lodash proper, but need some advocacy and/or evolution (or devolution) to get them there.

Use

In the Browser

First, you’ll need lodash. Then you can grab the relevant lodash-contrib libraries and simply add the following to your pages:

    <script type="text/javascript" src="lodash.js"></script>
    <script type="text/javascript" src="lodash.object.builders.js"></script>

At the moment there are no cross-contrib dependencies (i.e. each sub-library can stand by itself), but that may change in the future.

License

lodash-contrib is open sourced under the MIT license.

Sub-libraries

The lodash-contrib library currently contains a number of related capabilities, aggregated into the following files.

The links above are to the annotated source code. Full-blown _.contrib documentation is in the works. Contributors welcomed.