Home
last modified time | relevance | path

Searched refs:dotProp (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/dot-prop/
Dreadme.md16 const dotProp = require('dot-prop');
19 dotProp.get({foo: {bar: 'unicorn'}}, 'foo.bar');
22 dotProp.get({foo: {bar: 'a'}}, 'foo.notDefined.deep');
25 dotProp.get({foo: {bar: 'a'}}, 'foo.notDefined.deep', 'default value');
28 dotProp.get({foo: {'dot.dot': 'unicorn'}}, 'foo.dot\\.dot');
33 dotProp.set(obj, 'foo.bar', 'b');
37 const foo = dotProp.set({}, 'foo.bar', 'c');
41 dotProp.set(obj, 'foo.baz', 'x');
46 dotProp.has({foo: {bar: 'unicorn'}}, 'foo.bar');
51 dotProp.delete(obj, 'foo.bar');
[all …]
/third_party/node/deps/npm/node_modules/configstore/
Dindex.js8 const dotProp = require('dot-prop'); constant
74 return dotProp.get(this.all, key);
82 dotProp.set(config, k, key[k]);
85 dotProp.set(config, key, val);
92 return dotProp.has(this.all, key);
97 dotProp.delete(config, key);