/utility-functions

Primary LanguageJavaScriptMIT LicenseMIT

A simple collection of utility functions!

Examples

getRandomElement([1, 2, 3]);
// => 2
getRandomNumber(1, 10);
// => 4
getURLSlug('My Favorite Songs');
// => 'my-favorite-songs'