# @open-tech-world/es-utils

> A Collection of ECMAScript Utility Functions.

Latest version **0.13.0** (published 2022-02-26) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @open-tech-world/es-utils
pnpm add @open-tech-world/es-utils
yarn add @open-tech-world/es-utils
bun add @open-tech-world/es-utils
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.13.0 |
| Published | 2022-02-26 |
| First published | 2021-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^12.22.0 \|\| ^14.17.0 \|\| >=16.0.0 |
| Dependencies | 0 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Thanga Ganapathy |
| Maintainers | ganapathy |
| Keywords | collection, es, utils, utilities, string, array, object |

## Links

- npm: https://www.npmjs.com/package/@open-tech-world/es-utils
- Repository: https://github.com/open-tech-world/es-utils
- Homepage: https://es-utils.netlify.app
- Issues: https://github.com/open-tech-world/es-utils/issues
- npm.io page: https://npm.io/package/@open-tech-world/es-utils

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.13.0 (latest) — 2022-02-26
- 0.12.0 — 2021-08-26
- 0.11.0 — 2021-08-23
- 0.10.0 — 2021-08-16
- 0.9.2 — 2021-08-14
- 0.9.1 — 2021-08-14
- 0.8.0 — 2021-08-11
- 0.7.1 — 2021-08-11
- 0.6.0 — 2021-07-25
- 0.5.1 — 2021-07-20
- 0.5.0 — 2021-07-18
- 0.4.0 — 2021-07-18
- 0.3.0 — 2021-07-17
- 0.2.0 — 2021-07-16
- 0.1.1 — 2021-07-13
- … 1 more at https://npm.io/package/@open-tech-world/es-utils/versions

## README

<div align="center">

# @open-tech-world/es-utils

[![Build](https://github.com/open-tech-world/es-utils/actions/workflows/build.yml/badge.svg)](https://github.com/open-tech-world/es-utils/actions/workflows/build.yml) [![Netlify Status](https://api.netlify.com/api/v1/badges/46461c00-ef9b-4e68-a60e-390f8d030ed4/deploy-status)](https://app.netlify.com/sites/es-utils/deploys) [![CodeFactor](https://www.codefactor.io/repository/github/open-tech-world/es-utils/badge/main)](https://www.codefactor.io/repository/github/open-tech-world/es-utils/overview/main) ![npm (scoped)](https://img.shields.io/npm/v/@open-tech-world/es-utils?color=blue)

</div>

> A Collection of ECMAScript Utility Functions.

## Documentation

The full documentation available at [https://es-utils.netlify.app](https://es-utils.netlify.app)

## Requirements

- Supported all modern browsers.

- Node.js ^12.22.0 || ^14.17.0 || >=16.0.0

## Installation

Using npm

```sh
npm install @open-tech-world/es-utils
```

Using Yarn

```sh
yarn add @open-tech-world/es-utils
```

## Usage

```ts
import { utilityFn } from '@open-tech-world/es-utils';

// ⚠️ Here, the utilityFn is a placeholder for actual utility function name.
utilityFn();
```

Please read the [documentation](https://es-utils.netlify.app/) for  complete list of available utility functions.

## API

#### Array

 - [arrayDiff](https://es-utils.netlify.app/docs/Array/arrayDiff)

#### Maths

 - [percentage](https://es-utils.netlify.app/docs/Maths/percentage)

 - [percentageOf](https://es-utils.netlify.app/docs/Maths/percentageOf)

#### String

 - [camelCase](https://es-utils.netlify.app/docs/String/camelCase)

 - [capitalize](https://es-utils.netlify.app/docs/String/capitalize)

 - [insertAt](https://es-utils.netlify.app/docs/String/insertAt)

 - [isEmail](https://es-utils.netlify.app/docs/String/isEmail)

 - [pascalCase](https://es-utils.netlify.app/docs/String/pascalCase)

 - [replaceAt](https://es-utils.netlify.app/docs/String/replaceAt)

#### Timers

 - [sleep](https://es-utils.netlify.app/docs/Timers/sleep)

#### Types

 - [inferType](https://es-utils.netlify.app/docs/Types/inferType)

 - [isNumber](https://es-utils.netlify.app/docs/Types/isNumber)

#### Object

 - [getInObj](https://es-utils.netlify.app/docs/Object/getInObj)

 - [setInObj](https://es-utils.netlify.app/docs/Object/setInObj)

## License

Copyright (c) [Thanga Ganapathy](https://github.com/Thanga-Ganapathy) ([MIT License](./LICENSE)).

---
_Source: https://npm.io/package/@open-tech-world/es-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
