1.0.5 • Published 6 months ago

odash-js v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

ODASH-JS

npm version License

Description

A collection of utility functions for JavaScript development. Simplify your coding tasks and improve code quality with this set of essential utility functions designed to tackle common challenges.

Key Features

  • isEmpty(value): Check for empty or meaningless content in values.
  • isUndefined(value): Determine if a value is undefined.
  • sumBy(collection, iteratee): Calculate the sum of numeric properties in a collection.
  • delay(ms): Introduce time delays using Promises.
  • validatePassword(password): Validate passwords based on specified criteria.
  • concatStrings(array, separator, key): Concatenate strings or object properties with ease.
  • filterArray(array, value, key): Efficiently filter elements from arrays.
  • replaceElement(array, key, value, newData): Replace elements in arrays.
  • concatArrays(firstChunk, secondChunk): Concatenate arrays with flexibility.
  • getDropdownOptions(object, value): Generate dropdown options from key-value pairs.
  • positiveNumberCheck(value): Verify if a value is a positive number.
  • getDates(noOfDays): Calculate start and end dates based on a given number of days.
  • validateObject(object): Validate the non-emptiness of all object fields.
  • sumOfArray(arr, key): Calculate the sum of fields in arrays of objects.
  • dateStr(date): Format Date objects as strings.
  • And more...

Installation

Install this package using npm:

npm install odash-js
1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago