JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 705122
  • Score
    100M100P100Q254809F
  • License MIT

Minimal implementation for ECMAScript6 WeakMap.

Package Exports

  • weakmap-polyfill

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (weakmap-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

weakmap-polyfill

Build Status

Minimal implementation for ECMAScript6 WeakMap.

Installation

In Browser:

<script src="weakmap-polyfill.js"></script>

or

<script src="weakmap-polyfill.min.js"></script>

WeakMap will defined in the global scope if native WeakMap is not supported.

In Node.js:

npm install weakmap-polyfill
var WeakMap = require('weakmap-polyfill'); // Return WeakMap shim or native WeakMap.

bower:

bower install weakmap-polyfill

License

MIT