File tree Expand file tree Collapse file tree 2 files changed +27
-31
lines changed Expand file tree Collapse file tree 2 files changed +27
-31
lines changed Original file line number Diff line number Diff line change 1- # Logs
2- logs
3- * .log
4- npm-debug.log *
5-
6- # Runtime data
7- pids
8- * .pid
9- * .seed
10-
11- # Directory for instrumented libs generated by jscoverage/JSCover
12- lib-cov
13-
14- # Coverage directory used by tools like istanbul
15- coverage
16-
17- # nyc test coverage
18- .nyc_output
19-
20- # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21- .grunt
22-
23- # node-waf configuration
24- .lock-wscript
25-
26- # Compiled binary addons (http://nodejs.org/api/addons.html)
27- build /Release
28-
291# Dependency directories
302node_modules
313jspm_packages
324
33- # Optional npm cache directory
345.npm
356
36- # Optional REPL history
37- .node_repl_history
7+ coverage
Original file line number Diff line number Diff line change 11# node.js-object-field-resolver
22allows overwrite object fields with value
3+
4+
5+ how to use:
6+
7+ ```
8+ import overwriteObjectField from "node-object-field-resolver"
9+
10+ ...
11+ let object = {xxx: 'value'}
12+
13+ object = overwriteObjectField('xxx.yyy', object, 'new value', '.');
14+
15+ object // {xxx: { yyy: 'new value'} }
16+
17+ ```
18+
19+
20+ ## software requirements
21+ * node.js 6.9+ [ with v8 enabled]
22+ * npm 3+
23+
24+ ## used technologies
25+ * jest
26+
27+ ## how to execute tests
28+ * npm test
You can’t perform that action at this time.
0 commit comments