JSPM

aio-calc

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q33228F
    • License ISC

    This package contains all the methods for solving mathematical problems.

    Package Exports

    • aio-calc

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aio-calc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    <This is a npm package. which we can install in nodejs environment by executing "npm install aio-calc" command. This package is under development. Basically this package will contains all the methods for calculating mathematical problems like addition, subtraction, multiplication, division and so on.

    All availables methods list:

    • add
    • sub
    • multi
    • div
    • abs
    • isNullOrEmpty
    • mod
    • sqr
    • cub
    • pow

    adding more methods>

    Usage

    Install the package using npm : npm install aio-calc --save

    Then, require the package and use it: [Comment: To check if this usage is proper] var math = require('aio-calc'); console.log(math.isNullOrEmpty("")); // true console.log(math.isNullOrEmpty("Hello World")); // false

    console.log(math.add(2,2)); // 4 console.log(math.add(2,2,2,5)); // 11

    console.log(math.sub(2,1)); //1 console.log(math.abs(-20)); // 20 console.log(math.abs(20)); //20