rn-utility-library

1.0.5 • Public • Published

My Utility Library

License: ISC

Overview

My Utility Library is a lightweight collection of common utility functions for JavaScript, designed to simplify everyday tasks in your Node.js projects.

Features

  • isEven(num): Check if a number is even.
  • getRandomNumber(min, max): Generate a random number within a specified range.
  • toTitleCase(str): Convert a string to title case.

These functions are crafted to be versatile and easy to integrate into your projects, providing essential building blocks for various scenarios. Whether you're working on backend logic, command-line tools, or data manipulation, My Utility Library aims to streamline your development process.

Installation

npm install rn-utility-library

Usage

console.log(isEven(4)); // true
console.log(getRandomNumber(1, 10)); // Random number between 1 and 10
console.log(toTitleCase('hello world')); // Hello World

Contributing

My Utility Library is open-source. Feel free to explore the source code, contribute, and adapt it to suit your specific needs.

Package Sidebar

Install

npm i rn-utility-library

Weekly Downloads

5

Version

1.0.5

License

ISC

Unpacked Size

3.7 kB

Total Files

4

Last publish

Collaborators

  • poojagaikwad1797