Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riannbarbosa/basiccalculator
Just a basic calculator script that do 4 operations: plus, division, times and subtraction.
https://github.com/riannbarbosa/basiccalculator
babeljs eslint nodejs npm-module npm-packages npmjs yarn
Last synced: 10 days ago
JSON representation
Just a basic calculator script that do 4 operations: plus, division, times and subtraction.
- Host: GitHub
- URL: https://github.com/riannbarbosa/basiccalculator
- Owner: riannbarbosa
- License: mit
- Created: 2022-12-22T13:47:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T17:38:56.000Z (about 2 years ago)
- Last Synced: 2024-11-16T05:41:51.354Z (2 months ago)
- Topics: babeljs, eslint, nodejs, npm-module, npm-packages, npmjs, yarn
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/justabasiccalculator?activeTab=explore
- Size: 11.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Just a Basic Calculator
Just a basic calculator that do 4 operations: **plus**, **division**, **times** and **subtraction**.
**How to use:**
- To use plus just call, **plus(_num1, num2_)**
- To use division just call, **divide(_num1, num2_)**
- To use times just call, **times(_num1, num2_)**
- To use subtracion call, **sub(_num1, num2_)**
**Usage example:**
```
var justabasiccalculator = require("justabasiccalculator")const example = justabasiccalculator.plus(num1, num2);
```Or
```
import { plus } from 'justabasiccalculator';const example = plus(num1, num2);
```
_This is a package created for learning purposes!!__See on **npmjs (npm package manager)**!_