theo-monster
v1.0.7
Published
Fibonacci computations
Downloads
20
Readme
#Overview
This is a simple JS library that takes in an integer (n) and computes the zero-indexed nth number in the fibonacci sequence.
Installation
$ npm i theo-monsterImporting
import fib from 'theo-monster'; // ES6
const fib = require('theo-monster').default; // ES5Usage
const result = fib(6); // result = 8