Skip to content

Generate the first nth integers of the Fibonacci sequence

Notifications You must be signed in to change notification settings

hkjels/fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibonacci

Generate the first nth integers of the Fibonacci sequence

Installation

Install with component(1):

$ component install hkjels/fibonacci

API

var fibonacci = require('fibonacci');
console.log(fibonacci(20));
// [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181]

License

MIT

About

Generate the first nth integers of the Fibonacci sequence

Resources

Stars

Watchers

Forks

Packages

No packages published