Skip to content

Recursively omit specified keys from an object.

License

Notifications You must be signed in to change notification settings

davekinkead/omit-deep

 
 

Repository files navigation

omit-deep NPM version

Recursively omit the specified key or keys from an object.

Install

Install with npm

$ npm i omit-deep --save

Usage

var omitDeep = require('omit-deep');

omitDeep({a: 'a', b: 'b', c: {b: 'b', d: {b: 'b', f: 'f'}}});
//=> {a: 'a', c: {d: {f: 'f'}}}

Related projects

  • assign-deep: Deeply assign the enumerable properties of source objects to a destination object. If a callback… more
  • defaults-deep: Like extend but recursively copies only the missing properties/values to the target object.
  • extend-shallow: Extend an object with the properties of additional objects. node.js/javascript util.
  • merge-deep: Recursively merge values in a javascript object.
  • mixin-deep: Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on May 28, 2015.

About

Recursively omit specified keys from an object.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%