@ashudev05/fizzbuzz
v3.0.1
Published
Displays the famous FizzBuzz series between the provided range
Downloads
20
Maintainers
Readme
@ASHUdev05/fizzbuzz
The official repository for my npm package
Displays the famous FizzBuzz series between the provided range.
Install
$ npm i @ashudev05/fizzbuzz
Usage
const tiny = require("@ashudev05/fizzbuzz");
tiny(1,5);
//=> 1
//2
//Fizz
//4
//Buzz
tiny("Hi!");
//=> TypeError: A number is expected! :D
// at tiny (/home/ashu/Desktop/test/node_modules/@ashudev05/fizzbuzz/index.js:2:73)
// at Object.<anonymous> (/home/ashu/Desktop/test/index.js:2:1)
Copyright (c) 2021 ASHUTOSH KUMAR JHA