fizzbuzz-enterprise
v1.0.0
Published
NPM port of fizzbuzz enterprise edition.
Readme
fizzbuzz-enterprise
10X enterprise software is a high-class of software that uses relevent software architecture design principles, including the maximalist principal, extreme modularity principle, single responsibility principle, and SOMOM,TYPRPL responsibility principle (Single/Minimal Or Maximal, Take Your Pick Responsibility Principal). See more information about the SOMOM,TYPRPL priniciple in this README snippet from LoLite, our 10x enterprise utility suite. This project is a 10x enterprise-grade port of FizzBuzz for NPM. Superior to previous FizzBuzz attempts such as FizzBuzzEnterpriseEdition, which is using Java, the language inferior to JavaScript, and fizzbuzz-npm-edition, which isn't enterprise enough. Please follow our organization, 10x'ly Made, on GitHub for more enterprise software.
Installation
You may install this however you want, but we will simply show you the one most common method of installing an NPM package in this example; that installation method being the NPM package manager method using the full install command and no flags:
npm install fizzbuzz-enterpriseUsage
Common usage
const fizzbuzz = require("fizzbuzz-enterprise")
fizzbuzz()Custom iteration
const fizzbuzz = require("fizzbuzz-enterprise")
fizzbuzz(1, 10)No output
const fizzbuzz = require("fizzbuzz-enterprise")
const result = fizzbuzz(1, 10, false) // outputs nothing
console.log(result) // outputsWhat is FizzBuzz?
FizzBuzz is a game that has gained in popularity as a programming assignment to weed out non-programmers during job interviews. The object of the assignment is less about solving it correctly according to the below rules and more about showing the programmer understands basic, necessary tools such as if-/else-statements and loops. The rules of FizzBuzz are as follows:
For numbers 1 through 100,
- if the number is divisible by 3 print Fizz
- if the number is divisible by 5 print Buzz
- if the number is divisible by 3 and 5 print FizzBuzz
- else, print the number.
License
Do whatever you want.
