# @firecamp/utility

> #### Description Exposes utilities

Latest version **0.1.126** (published 2022-05-31) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @firecamp/utility
pnpm add @firecamp/utility
yarn add @firecamp/utility
bun add @firecamp/utility
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.126 |
| Published | 2022-05-31 |
| First published | 2020-05-14 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 208.2 KB |
| Known vulnerabilities | 0 (+12 in 3 direct dependencies) |
| Install scripts | no |
| Maintainers | nishchit14 |

## Links

- npm: https://www.npmjs.com/package/@firecamp/utility
- Repository: https://github.com/firecampapp/firecamp-utility
- Homepage: https://github.com/firecampapp/firecamp-utility#readme
- Issues: https://github.com/firecampapp/firecamp-utility/issues
- npm.io page: https://npm.io/package/@firecamp/utility

## Dependencies (14)

- [uuid](https://npm.io/package/uuid.md) ^8.0.0
- [faker](https://npm.io/package/faker.md) ^5.1.0
- [dedupe](https://npm.io/package/dedupe.md) latest
- [lodash](https://npm.io/package/lodash.md) ^4.17.19
- [nanoid](https://npm.io/package/nanoid.md) 3.1.22
- [graphql](https://npm.io/package/graphql.md) ^15.1.0
- [prettier](https://npm.io/package/prettier.md) ^2.1.1
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.2.2
- [url-parse](https://npm.io/package/url-parse.md) 1.4.7
- [clean-deep](https://npm.io/package/clean-deep.md) ^3.3.0
- [underscore](https://npm.io/package/underscore.md) ^1.10.2
- [is-electron](https://npm.io/package/is-electron.md) ^2.2.0
- [object-path](https://npm.io/package/object-path.md) latest
- [json-templates](https://npm.io/package/json-templates.md) ^4.1.0

## Recent versions

- 0.1.126 (latest) — 2022-05-31
- 0.1.125 — 2022-05-31
- 0.1.124 — 2022-05-30
- 0.1.123 — 2022-04-09
- 0.1.122 — 2022-04-09
- 0.1.120 — 2022-01-29
- 0.1.119 — 2022-01-28
- 0.1.118 — 2022-01-17
- 0.1.117 — 2021-12-22
- 0.1.116 — 2021-10-21
- 0.1.115 — 2021-09-02
- 0.1.114 — 2021-08-02
- 0.1.113 — 2021-07-09
- 0.1.112 — 2021-07-09
- 0.1.111 — 2021-07-07
- … 115 more at https://npm.io/package/@firecamp/utility/versions

## README

# @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

---
_Source: https://npm.io/package/@firecamp/utility · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
