1.1.0 • Published 4 years ago

@vitogd/calc v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

:question: How to use?

Installation:

$ npm install @vitogd/calc

Declaration on javascript:

const calc = require("@vitogd/calc");

Usage:

const sum = calc.sum(2, 2); // 4

const sub = calc.sub(4, 2); // 2

const mult = calc.mult(3, 2); // 6

const div = calc.div(6, 2); // 3

:building_construction: Building

# clone the repository
$ git clone https://github.com/vitogd/calc.git

# enter on directory
$ cd calc

# install node.js native addon build tool
$ npm install -g node-gyp

# build
$ npm run build # or node-gyp build

:rocket: Technology

This project was developed as a test, i had curiosity on how to make a npm package and there it is.

:memo: License

This project is under the MIT license. See the LICENSE for more information.


1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago