https://github.com/alexvcasillas/fib-o
A cached fibonacci implementation
https://github.com/alexvcasillas/fib-o
cache fibonacci javascript math recursive
Last synced: about 1 year ago
JSON representation
A cached fibonacci implementation
- Host: GitHub
- URL: https://github.com/alexvcasillas/fib-o
- Owner: alexvcasillas
- Created: 2018-05-31T10:23:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T18:20:15.000Z (almost 5 years ago)
- Last Synced: 2025-03-17T19:55:04.693Z (about 1 year ago)
- Topics: cache, fibonacci, javascript, math, recursive
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@alexvcasillas/fib-o
- Size: 77.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Fib-O
[](https://circleci.com/gh/alexvcasillas/fib-o)
**Fib-O** is a cached fibonacci implementation.
## Installation
NPM
```
npm install @alexvcasillas/fib-o
```
YARN
```
yarn add @alexvcasillas/fib-o
```
## Usage
```
import { fib } from '@alexvcasillas/fib-o';
const result = fib(50);
console.log(result); // 12586269025
```