fibonacci-series-array

1.0.1 • Public • Published

fibonacci-array

A npm package which takes the integer 'n' in a parameter and returns the array containing the initial 'n' numbers of fibonacci series.

//Call the code like below-

import Fseries from "fibonacci-series-array"

console.log(Fseries(10));

//Above code will print the array having initial 10 numbers of fibonacci series.

console.log(Fseries(1000))

//Above code will print the array having initial 1000 numbers of fibonacci series.

//Code is designed to handle big integers or large numbers too, feel free to call any number as in parameter and it will return the array containing fibonacci series up to that number

Package Sidebar

Install

npm i fibonacci-series-array

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3 kB

Total Files

4

Last publish

Collaborators

  • jeetagrawal2002