1.0.2 • Published 6 years ago
npower v1.0.2
This package evaluates the value of a particular number raised to some power. Require the npm and use the method .power(number,raisePower) where you pass in the arguments of a number and its raised power to get a particular value and if you pass a negative value you get the result in fractional value with respective numerator and a denominator.
for example: use:
npm i npower
const numberPower = require('npower');
numberPower.power(3,2)
9