1.0.1 • Published 6 years ago

fib.wasm v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

fib.wasm

calculate fibonacci numbers using wasm.

intended more as a wasm example than because anyone seriously needs to calculate fibonacci numbers.

example

var f = require('fib.wasm')

f.fib(1) => 1
f.fib(2) => 2
f.fib(3) => 3
f.fib(4) => 5
f.fib(5) => 8
...
f.fib(1000) => 1318412525

anyway but the real reason I wrote this is so you can read the code.

other handwritten wat on npm to read

License

MIT