bjorklund-js

0.1.2 • Public • Published

Bjorklund

A Javascript Universal Module implementation of the Bjorklund algorithm.

Installation

npm

$ npm install bjorklund-js

bower

$ bower install bjorklund-js

Usage

var
    steps = 5,
    pulses = 2;
 
console.log(bjorklund(steps, pulses)); // [ 0, 1, 0, 1, 0 ]

License

This project is licensed under the MIT license.

Resources

Changelog

0.1.0

First release

0.1.1

Add minified version

0.1.2

Fixed algorithm for N==k, n % k == 0, k == 0. Thanks @colinsullivan

Package Sidebar

Install

npm i bjorklund-js

Weekly Downloads

4

Version

0.1.2

License

MIT

Unpacked Size

12.1 kB

Total Files

10

Last publish

Collaborators

  • adigiovanni