Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (23 sloc) 922 Bytes

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