1.0.0 • Published 2 years ago

aryabhatta v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

What is this ..?

It is a handy library which provides various functions related to numbers

Installation

npm install aryabhatta --save

What it provides ...?

As as now, by using this library we can check whether a number is primary, even or odd. We can also use this library to generate fibonacci series of specied length.

How to use it ...

const aryabhatta = require('aryabhatta');

aryabhatta.isPrime(num);
aryabhatta.isEven(num);
aryabhatta.isOdd(num);
aryabhatta.fibonacci(limit);