Licence
ISC
Version
1.0.0
Deps
8
Size
2 kB
Vulns
0
Weekly
0
grommailpasha
This is a Node.js module for performing various mathematical operations.
Installation
You can install this module via npm: npm install grommailpasha
Usage
const math = require('awesome-math');
// Calculate Fibonacci number
console.log(math.fibonacci(10)); // Output: 55
// Check if a number is prime
console.log(math.isNumberPrime(17)); // Output: true
// Reverse a string
console.log(math.reverseString('hello')); // Output: 'olleh'