0.0.1 • Published 11 years ago
upperscore v0.0.1
upperscore
An extension of the popular underscore library. Upperscore contains all the underscore function, and the following functions:
var upp = require('upperscore');
###upp.dict(keys, values) takes two arrays and returns an object where the property names in keys set to the values in the values array.
###upp.mapObject(object, mapFn(value, key), thisArg) runs a map operation over all the enumerable properties of an object
###upp.filterObject(object, filterFn(value, key), thisArg) runs a filter operation over all the enumerable properties of an object
###upp.filterDuplicates(array, compareFn(doc1, doc2)) just like _.uniq, but with a compare function that you can supply yourself.
0.0.1
11 years ago