@ashudev05/fizzbuzz
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

@ASHUdev05/fizzbuzz

npm badge npm minified size

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

Package Sidebar

Install

npm i @ashudev05/fizzbuzz

Weekly Downloads

1

Version

3.0.1

License

MIT

Unpacked Size

14.9 kB

Total Files

7

Last publish

Collaborators

  • ashudev05