0.1.2 • Published 9 years ago

underscore.pathextend v0.1.2

Weekly downloads
3
License
-
Repository
-
Last release
9 years ago

underscore.pathextend Build Status

This library is an extension for Underscore which allows extending objects using string paths.

Features

  • Extend using paths as keys.

Dependencies

  • underscore.js (>= 1.5.0)
    • underscore.path (>= 0.1.4)

Node

var _ = require('underscore');
_.mixin(require('underscore.pathextend'));

Examples

var object = {foo: {bar: 123}};
_.pathExtend(object, {"foo.bar": 312});

License

Copyright (c) 2014 Mateus Maso. Released under an MIT license.

0.1.2

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago