js-polyfill-object.fromentries

1.0.0-1 • Public • Published

Object.fromEntries() polyfill

Provides polyfill for Object.fromEntries().

Usage

Importing the module will automatically monkey-patch the Object class, adding the static method only if needed. If the functionality is already present, nothing is done.

require('js-polyfill-object.fromentries');

or

import 'js-polyfill-object.fromentries';
Object.fromEntries(...);

Package Sidebar

Install

npm i js-polyfill-object.fromentries

Weekly Downloads

55

Version

1.0.0-1

License

MIT

Unpacked Size

2.37 kB

Total Files

5

Last publish

Collaborators

  • coolsnow