1.0.7 • Published 7 years ago
theo-monster v1.0.7
#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