1.2.0 • Published 4 years ago
@jonwyp/math v1.2.0
Math
A simple math library
Install
npm install @jonwyp/math
Usage
const math = require(@jonwyp/math)
const result = math.add(1, 1)
API
'math.add(...numbers)' 'math.subtract(minuend, ...subtrahend) 'math.multiply(...numbers) 'math.divide(divisor, dividend) 'math.powerOf(base, exponent)
Publish or update package on npm
- Edit package
- Commit changes and push to remote repository
- Bump up version with 'npm version <major|mninor|patch>'
- Publish on npm with 'npm publish --access publish'