@firecamp/utility

0.1.126 • Public • Published

@firecamp/utility

Description

Exposes utilities

APIs

  • array
  • collection
  • constants
  • dateandtime
  • env
  • misc
  • object
  • table
  • urlFns

array


  • arrayToObj
  • arrayToStr
  • strToArray
  • removeElementFromArray
  • fetchObject
  • includes
  • without
  • uniq
  • find
  • sort
  • sortBy

collection


  • prepareCollection
  • destructCollection
  • removeCollectionIds

dateandtime


  • getTimeInAMPM
  • getDateInDMYFormat
  • formatDateAndTime

env


  • replaceEnvVarInJSON

misc


  • isElectron
  • getAbbreviate
  • getModulePath
  • sortByOrderIds
  • isAPIBodyEmpty
  • debounce
  • debouncePromise
  • copyToText
  • isJSON

object


  • isObject
  • downloadObjectAsJson
  • mergeDeep
  • deepMergeAll
  • hasKey
  • size
  • keys
  • values
  • hasSameValue
  • omit
  • pick

table


  • tableToText
  • tableToObj
  • objectToTable
  • textToTable
  • getTrimmedTableState
  • mergeTablesByKey
  • getTablePayloadByKeys
  • updateDisbaleKeyByTableKeys
  • copyTableAsJSON

urlFns


  • strToObj
  • objToStr

Readme

Keywords

none

Package Sidebar

Install

npm i @firecamp/utility

Weekly Downloads

2

Version

0.1.126

License

UNLICENSED

Unpacked Size

213 kB

Total Files

66

Last publish

Collaborators

  • nishchit14