Node's Pastoral Musicians

    upperscore

    0.0.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i upperscore

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • bwindels