Nero Punished Miscreants
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    proppublic

    prop

    Functional method to get a property from an object.

    usage

    var obj = {foo: 'bar'}
    var result = prop('foo')(obj)
     
    // Also with nested properties 
    var nested = { foo: { bar: "baz" }}
    var result = prop("foo.bar")(nested)

    install

    npm install prop

    contribute

    pull requests welcome

    license

    MIT

    Thanks to

    Thanks to

    Keywords

    none

    install

    npm i prop

    Downloadslast 7 days

    22

    version

    0.1.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar