@emmanueltoluwanimi/bsc-sdk
v1.0.1
Published
An SDK for basic performing basic operations in a basic calculator
Downloads
2
Maintainers
Readme
Basic-calculator-sdk
An SDK for performing basic operations in a basic calculator
Installation
Run npm i @emmanueltoluwanimi/bsc-sdk
Use:
To use this package in your project, import any of the methods below.
import {add, substract, multiply, divide, square} from "@emmanueltoluwanimi/bsc-sdk";
Example:
Examples for each method below.
add(5,10) - //15
substract(5,10) - //-5
multiply(5,10) - //50
divide(5,10) - //0.5
square(5) - //25
Note
Pass in only numerical values as your parameter, if not a "Error" message is returned
Square takes in one parameter. If you pass more than one, the square of the first parameter is returned.
Operation in divide(x,y)
method is not divisible by zero (0).
Footnote
Hi :hand:, My name is Emmanuel Toluwanimi :blush:. A Software developer :sunglasses: from Nigeria :ng: . The essence of this project, though very basic, is to have a first try practical knowledge and experience of developing SDKs or packages. Expect advanced and also basic packages. My github repo is accessible through the project's repo link. And you contact me through my email [email protected].