Negligible Participation Metric
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fizzbuzz

0.0.1-8 • Public • Published

FizzBuzz: the Programmer's Stairway to Heaven

Awesome FizzBuzz article by Jeff Atwood

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
node app.js

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

Keywords

none

install

npm i fizzbuzz

Downloadsweekly downloads

2

version

0.0.1-8

license

none

last publish

collaborators

  • avatar
Report a vulnerability