https://github.com/semibran/fibonacci
Efficiently read numbers from the Fibonacci sequence
https://github.com/semibran/fibonacci
fibonacci numbers
Last synced: about 1 year ago
JSON representation
Efficiently read numbers from the Fibonacci sequence
- Host: GitHub
- URL: https://github.com/semibran/fibonacci
- Owner: semibran
- License: mit
- Created: 2017-06-24T00:50:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T01:01:53.000Z (almost 9 years ago)
- Last Synced: 2025-02-12T18:59:23.895Z (over 1 year ago)
- Topics: fibonacci, numbers
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# fibonacci
> Efficiently read numbers from the [Fibonacci sequence](https://en.wikipedia.org/wiki/Fibonacci_sequence)
```js
> const fibonacci = require('fibonacci')
undefined
> fibonacci(10) // first ten elements
[1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
> fibonacci(10, 5) // skip five
[8, 13, 21, 34, 55, 89, 144, 233, 377, 610]
```
## install
```sh
npm install semibran/fibonacci
```
## license
[MIT](https://opensource.org/licenses/MIT) © [Brandon Semilla](https://git.io/semibran)