npm.io
1.0.0 • Published 2 years ago

js-edwardcollins

Licence
ISC
Version
1.0.0
Deps
8
Size
2 kB
Vulns
23
Weekly
0

Js-edwardcollins

Js-edwardcollins is a Node.js module containing a collection of funky utility functions.

Installation

You can install this module via npm: npm install js-edwardcollins

Usage

const funkyUtils = require('funky-utils');

console.log(funkyUtils.getRandomElement([1, 2, 3, 4, 5])); // Output a random element from the array
console.log(funkyUtils.capitalizeFirstLetter('hello')); // Capitalize the first letter of the string
funkyUtils.fetchRandomDogImage().then(imageUrl => console.log(imageUrl)); // Fetch a random dog image URL