awesome-js-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

Javascript Utils.

Util description
useProxy Used to replace undefined with some value when the key is not present in the object
sortObject used to sort out the object by key and value either ascending or descending.
isArrayNotEmpty util to check whether the variable passed is valid array and has some length
isObjectNotEmpty util to check whether the variable passed is valid object and has some properties in it.
removeDuplicatesFromArray util to remove duplicates from array. Array can be of any time either only one data type or it can be array of many data types.
capitalizeString Capitalize the first character of the word or words in a sentence.
joinClassNames Join two classnames based on data types.
getKeyValues Extract multiple values for a particular keys from an object.

Using npm

npm i awesome-js-utils

Usage

using js utils

Package Sidebar

Install

npm i awesome-js-utils

Weekly Downloads

0

Version

1.0.13

License

ISC

Unpacked Size

35.5 kB

Total Files

59

Last publish

Collaborators

  • yashwanthkorla