objpath

0.0.6 • Public • Published

objpath

create/access objects with a key-string

var objpath = require('objpath')
objpath(this, 'foo.bar', 'blub')
assert.equal(this.foo.bar,'blub')
assert.equal(objpath(this,'foo.bar'),'blub')

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i objpath

      Weekly Downloads

      1

      Version

      0.0.6

      License

      none

      Last publish

      Collaborators

      • guybrush