pologovsemen

1.0.0 • Public • Published

pologovsemen

Pologovsemen is a Node.js module providing a collection of super useful utility functions.

Installation

You can install this module using npm: npm install pologovsemen

Usage

const superUtils = require('superutils');

// Get a random Chuck Norris joke
superUtils.getRandomChuckNorrisJoke()
    .then(joke => console.log(joke))
    .catch(err => console.error(err));

// Calculate factorial
console.log(superUtils.factorial(5)); // Output: 120

// Read file contents
const fileContents = superUtils.readFileContents('path/to/file.txt');
console.log(fileContents);

// Format date
const formattedDate = superUtils.formatDate(new Date(), 'YYYY-MM-DD');
console.log(formattedDate);

Readme

Keywords

none

Package Sidebar

Install

npm i pologovsemen

Weekly Downloads

5

Version

1.0.0

License

ISC

Unpacked Size

2.59 kB

Total Files

3

Last publish

Collaborators

  • pologov45semen