actions-deploy-demo

1.0.51 • Public • Published

fib-tools

a

asdflkj

Make the magic happen

Get the nth Number

const {getNumber} = require('@bbq-beets/fib-tools')
assert.strictEqual(getNumber(8), 21)
```asdfasdfadsf

## Get a List of Numbers

```javascript
const {getList} = require('@bbq-beets/fib-tools')
assert.strictDeepEqual(getList(8), [0, 1, 1, 2, 3, 5, 8, 13, 21])

Get a Sequence of Numbers

const {getSequence} = require('@bbq-beets/fib-tools')

const seq = getSequence()

for (const n of seq) {
  console.log(n) // The next Fibonacci number in the sequence
}

Readme

Keywords

none

Package Sidebar

Install

npm i actions-deploy-demo

Weekly Downloads

1

Version

1.0.51

License

MIT

Unpacked Size

7.3 kB

Total Files

8

Last publish

Collaborators

  • issc29