Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

lg-calc

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lg-calc

latest
npmnpm
Version
1.0.1-alpha.0
Version published
Maintainers
1
Created
Source

lg-calc

tested with mocha and chai

A utility that accepts an object and returns an integer.

Setup

$ npm i lg-calc

Use

import calc from 'lg-calc';

calc({
  one: {
    price: 287,
    qty: 5,
  },
  two: {
    price: 233,
    qty: 3,
  },
}); // returns 2134

Questions? Contact Me

FAQs

Package last updated on 17 Nov 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