Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ashudev05/fizzbuzz

ASHUdev0526MIT3.0.1TypeScript support: included

Displays the famous FizzBuzz series between the provided range

FizzBuzz, npm, package, ashudev05, fizzbuzz, Fizzbuzz

readme

@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