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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    1
    • latest

Version History

Package Sidebar

Install

npm i objpath

Weekly Downloads

1

Version

0.0.6

License

none

Last publish

Collaborators

  • guybrush