A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/put-value below:

put-value - npm

var put = require('put-value')

var obj = {

  a: {

    foo: 'bar'

  },

  b: {

    bb: 'bbb'

  }

}

 

put(123) 

put(obj, {a: {bar: 'baz'}}) 

put(obj, {a: 'foo'}})

 

put(obj, {zzz: 'xxx'}) 

put(obj, 'foo', 'baz') 

put(obj, 'foo.bar', 'baz') 

put(obj, 'a', {foo: 123})

 

put(obj, 'a.foo', {baz: 'aaa'})

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4