1.0.0 • Published 5 years ago

tooc v1.0.0

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

tooc

Took is micro library for managing objects on javascript.

Installation

npm install tooc --save

Example

const tooc = require('tooc');

const obj = new tooc({
    field1: {
        field12: null,
        arr: [1, 2, {
            d: 'ool',
        }],
    },
});

console.dir(obj.get('field1.arr[1]'));
obj.push('field1.arr', 123)
console.dir(obj.get('field1.arr'));