lodash-get-or-set

1.0.3 • Public • Published

lodash-get-or-set

Get value at path if exists, else set to value, with lodash.

import getOrSet from 'lodash-get-or-set'
 
getOrSet(object, path, value)

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i lodash-get-or-set

    Weekly Downloads

    14

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    1.73 kB

    Total Files

    5

    Last publish

    Collaborators

    • adjohnson916