New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tooc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tooc

A lib for managing objects

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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'));

FAQs

Package last updated on 24 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts