lg-calc

1.0.1-alpha.0 • Public • Published

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

/lg-calc/

    Package Sidebar

    Install

    npm i lg-calc

    Weekly Downloads

    0

    Version

    1.0.1-alpha.0

    License

    MIT

    Unpacked Size

    3.04 kB

    Total Files

    6

    Last publish

    Collaborators

    • matbub