# fibs

> Various Fibonacci implementations

Latest version **0.0.4** (published 2015-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install fibs
pnpm add fibs
yarn add fibs
bun add fibs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-12-21 |
| First published | 2015-12-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Adrian Lynch |
| Maintainers | adrianblynch |

## Links

- npm: https://www.npmjs.com/package/fibs
- Repository: https://github.com/adrianblynch/fibs
- Homepage: https://github.com/adrianblynch/fibs#readme
- Issues: https://github.com/adrianblynch/fibs/issues
- npm.io page: https://npm.io/package/fibs

## Recent versions

- 0.0.4 (latest) — 2015-12-21
- 0.0.3 — 2015-12-21
- 0.0.2 — 2015-12-21
- 0.0.1 — 2015-12-21

## README

# Fibs

Methods to generate fibonacci sequences using:

- **fib1()** - Regular looping
- **fib2()** - Recursion (not optimised)
- **fib3()** - Generators (still to do)

## Install

`npm install fibs`

## Usage

```
var fibs = require('fibs')

fibs.fib1(5) // [ 1, 1, 2, 3, 5 ]
fibs.fib2(5) // [ 1, 1, 2, 3, 5 ]
```

## Notes

- This isn't really for use, it's more of an exercise for the brain.

## Todo

- Implement fib3() using a generator
- Allow the sequence to start at 0

---
_Source: https://npm.io/package/fibs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
