Package Exports
- del-values
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (del-values) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
del-values

Multiple delete deeply nested values from an object using dot notation
a.b.c
Install
npm i del-values --save
npm testUsage
For more use-cases see the tests
var del = require('del-values')
del({a: 'b', c: {d: 'e', g: 'f'}}, 'a.d') //=> {a: 'b', c: {d: 'e', g: 'f'}}
del({a: 'b', c: {d: 'e', g: 'f'}, z: 'z'}, ['a', 'c.d']) //=> {c: {g: 'f' }, z: 'z'}
del({a: 'b', c: 'd'}, ['a', 'c']) //=> {}Contributing
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.