3.10.0 • Published 9 years ago

protolodash v3.10.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

protolodash

Talk directly with whom you have to talk!

This is a wrapper of lodash library, that inserts its utils into the prototypes of your primitive types. In theory, it's auto-updatable as the function names are obtained with a crawler of the official docs. Enjoy!

users

how to use

var _ = require('protolodash');

[1, [2, 3], [4]].flatten();
// → [1, 2, 3, 4]

['one', 'two', 'three'].groupBy('length');
// → { '3': ['one', 'two'], '5': ['three'] }

"abc".padLeft(6);
// → "   abc"

function(a, b) { return a + b; }.partial(2)(3);
// → 5

_.isNull(null);
// → true
//(you can still use lodash normally)

how to install

npm install protolodash --save

what is supported?

["Array", "Collection", "Date", "Function", "String"]

...and Object?

Noup.

devs

how to update

sudo npm install -g coffee-script
npm install
coffee crawler.coffee > methods.js
3.10.0

9 years ago

3.9.4

9 years ago

3.9.3

9 years ago

3.9.2

9 years ago

3.9.1

9 years ago