Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
fizz, buzz, fizzbuzz... baz?
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
public
routes
views
.gitignore
.travis.yml
README.md
app.js
package.json

README.md

FizzBuzz: The Programmer's Stairway to Heaven

Awesome FizzBuzz article by Jeff Atwood

Nodejitsu Deploy Status Badge build status

Install:

npm i fizzbuzz
OR
npm i fizzbuzz -g

To Use:

Demo: fizzbuzz.jit.su

Run your own server:

git clone git@github.com:blakmatrix/fizzbuzz.git && cd fizzbuzz
npm start

Use it in your own app with require:

var fizzbuzz = require('fizzbuzz').fizzbuzz;
for(var i=1;i<=100;i++){
    console.log(String(fizzbuzz(i)));
}

To run via commandline:

npm i fizzbuzz -g
fizzbuzz
Something went wrong with that request. Please try again.