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')

Readme

Keywords

none

Package Sidebar

Install

npm i objpath

Weekly Downloads

0

Version

0.0.6

License

none

Last publish

Collaborators

  • guybrush