# es-adapter

> Functions that imitates some ES7 functions so we can use then in IE

Latest version **0.0.2** (published 2018-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install es-adapter
pnpm add es-adapter
yarn add es-adapter
bun add es-adapter
```

## 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.0.2 |
| Published | 2018-01-05 |
| First published | 2017-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andoni Fernandez Pina |
| Maintainers | ferpinan |

## Links

- npm: https://www.npmjs.com/package/es-adapter
- npm.io page: https://npm.io/package/es-adapter

## Recent versions

- 0.0.2 (latest) — 2018-01-05
- 0.0.1 — 2017-11-22

## README

#ik-number-formatter

Functions that imitates some ES7 functions so we can use then in IE.

##objectToArray

Imitates `Object.values(object)`.

Convert a `key: value` object into an array. First of all we must import the function. 

    import objectToArray from "es-adapter";
    
The function has one parameter:

* object: the object we want to convert.

    var convertedArray = objectToArray(object);
    
##arrayIncludes

Imitates `array.includes(value)`. Returns a boolean.

Checks if an `array` has a `value`. First of all we must import the function. 

    import arrayIncludes from "es-adapter";
    
The function has two parameters:

* array: the array where we have to check if the value exists
* value: the value we want to check if exist.


    var arrayIncludesValue = arrayIncludes(array, value);

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