Package Exports
- es7-object-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 (es7-object-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A polyfill for missing Object.values / Object.entries
Installing:
npm install es7-object-polyfill
Usage:
require ('es7-object-polyfill')
It will automatically create Object.values
and Object.entries
— but only if they're not already defined.
In a browser, without module bundlers
Served from Unpkg CDN:
<script src="https://unpkg.com/es7-object-polyfill"></script>