1.0.4 • Published 3 years ago

usuals v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

The 'usuals' Library

This is a library under development for making a developer's life easier that includes all the common utility functions of frequent use.

Version GitHub Pull Requests GitHub Issues GitHub Code Size NPM Total Downloads GitHub Fork

Installation

npm i usuals

Usage

import * as usuals from "usuals";

Object Function Example

isObjectEmpty(inputObject) Checks if a JavaScript Object is empty (inclusive of null and undefined)

const inputObject1 = {};
const inputObject2 = { foo: "bar" };

// Returns true
usuals.objectFunctions.isObjectEmpty(inputObject1);

// Returns false
usuals.objectFunctions.isObjectEmpty(inputObject2);

String Function Example

generateLowerCaseString(10) Returns a lowercase string of specified length

// Returns a value with 14 random characters. [Example - vjjdnmhjlgdgwc]
const str = usuals.stringFunctions.generateLowerCaseString(14);

Side Note:

  • Currently we only have 2 contributors to this project.
  • Do write to harireddy05@gmail.com should you want to be a part of this.

How to report bugs and issues?

  • Any bugs/issues reported would help improve the "usuals" library.
  • Please do if you stumble upon them. You have our gratitude!

To report bugs and issues please use the GitHub issue reporting tool: https://github.com/reddy-hari/usuals/issues.

Contribute!

Pull Requests are highly encouraged and appreciated.

Please :star: the repo if you like the project.

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago