包详细信息

typhonjs-object-util

typhonjs-node-utils14.1kMPL-2.00.4.2

Provides common object manipulation utilities.

typhonjs, object, util

自述文件

typhonjs-object-util

NPM Documentation Code Style License Gitter

Build Status Coverage Dependency Status

Provides common object manipulation utilities including depth traversal, obtaining accessors, safely setting values / equality tests, and validation.

Support for typhonjs-plugin-manager is enabled.

更新日志

0.4.2 (2017-03-13)

  • Added the ability to skip object keys in deepFreeze.

0.4.1 (2017-03-13)

  • Added deepFreeze.

0.4.0 (2017-02-14)

  • Added safeBatchSet.

0.3.2 (2017-02-14)

  • Added more documentation.

0.3.1 (2017-02-14)

  • Added JSON.stringify for objects in validation error messages.

0.3.0 (2017-02-13)

  • Added _objectValidateError boolean set to true for all validation errors thrown.

0.2.0 (2017-02-11)

  • For validation expected can also be an array.

0.1.0 (2017-02-11)

  • Initial release.