1.0.4 • Published 5 years ago

eloquent-object-tools v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Eloquent Object Tools

A Lightweight Javascript Object Tooling System written in ES6+

Installation

$ npm i eloquent-object-tools --save

Initialization

const Eot = require('eloquent-object-tools');
const eot = new(Eot);
  • eot.clone(object) -> Clones an object
  • eot.getDeep(object, path, default) -> Gets a deep value from an object, and returns a default if not found, path can be an array or string
  • eot.setDeep(object, path, value) -> Sets a deep value from an object, path can be an array or string
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago