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

object-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-toolbox

js plain object toolbox

latest
Source
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source

object-toolbox

Build State Coverage License Version

Simple js plain object toolbox. Provides some enhance methods for js object.

Api Document

https://glenzli.github.io/object-toolbox/

Example

import { operateLeaf, Fit } from 'object-toolbox';

const point1 = { x: 1, y: 2 };
const point2 = { x: 2, y: -2 };
const point3 = operateLeaf((x: number, y: number) => x + y, point1, point2);
// point3 = { x: 3, y: 0 }

const fit = new Fit();
const point4 = fit.fit(0.5, point1, point2);
// point4 = { x: 1.5, y: 0 }

Keywords

js

FAQs

Package last updated on 19 Oct 2020

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