You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
989 B

5 years ago
  1. # Essential Map
  2. [![Build Status](https://travis-ci.com/ungap/essential-map.svg?branch=master)](https://travis-ci.com/ungap/essential-map) [![Coverage Status](https://coveralls.io/repos/github/ungap/essential-map/badge.svg?branch=master)](https://coveralls.io/github/ungap/essential-map?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/essential-map.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)
  3. An essential [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) poorlyfill for legacy browsers.
  4. Only methods are `delete`, `forEach`, `get`, `has`, and `set`.
  5. * CDN via https://unpkg.com/@ungap/essential-map
  6. * ESM via `import Map from '@ungap/essential-map'`
  7. * CJS via `const Map = require('@ungap/essential-map')`
  8. Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).
  9. [Live test](https://ungap.github.io/essential-map/test/)