1.0.0 • Published 2 months ago
func-pp06 v1.0.0
func-pp06
A Node.js module with functions for func-pp06 and more.
Installation
You can install this module via npm: npm install func-pp06
Usage
const fizzbuzz = require('fizzbuzz-magic');
// Check if a number is prime
console.log(fizzbuzz.isPrime(7)); // true
// Print FizzBuzz up to a certain number
fizzbuzz.fizzBuzz(15);
// Reverse a string
console.log(fizzbuzz.reverseString('hello')); // 'olleh'
1.0.0
2 months ago