mathLibrary
This library consists of few mathematical functions. This package was only created to test the process of publishing NPM package.
How To Use Package
- Install the package by running the command "
npm i @p4avinash/math-library
" - Import the package where you want to use the package functions:
//import the library
import mathCollection from "@p4avinash/math-library"
//create instance
const m = mathCollection()
//use the functions
m.round(2.665)
- Make sure to set
type: "module"
in your package.json - You're done with the setup, now enjoy... 🎉🎉