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.
 
 
 
 
ecommerce_docker/frontend_server/node_modules/object.fromentries
sigonasr2 ff7945a554 Create Docker app with frontend,backend,database modules 5 years ago
..
.github/workflows Create Docker app with frontend,backend,database modules 5 years ago
test Create Docker app with frontend,backend,database modules 5 years ago
.eslintrc Create Docker app with frontend,backend,database modules 5 years ago
.travis.yml Create Docker app with frontend,backend,database modules 5 years ago
CHANGELOG.md Create Docker app with frontend,backend,database modules 5 years ago
LICENSE Create Docker app with frontend,backend,database modules 5 years ago
README.md Create Docker app with frontend,backend,database modules 5 years ago
auto.js Create Docker app with frontend,backend,database modules 5 years ago
implementation.js Create Docker app with frontend,backend,database modules 5 years ago
index.js Create Docker app with frontend,backend,database modules 5 years ago
package.json Create Docker app with frontend,backend,database modules 5 years ago
polyfill.js Create Docker app with frontend,backend,database modules 5 years ago
shim.js Create Docker app with frontend,backend,database modules 5 years ago

README.md

object.fromentries Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

An ES spec-proposal-compliant Object.fromEntries shim. Invoke its "shim" method to shim Object.fromEntries if it is unavailable or noncompliant.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the proposed spec.

Most common usage:

var assert = require('assert');
var fromEntries = require('object.fromentries');

var obj = { a: 1, b: 2, c: 3 };
var actual = fromEntries(Object.entries(obj));

assert.deepEqual(obj, actual);

if (!Object.fromEntries) {
	fromEntries.shim();
}

assert.deepEqual(Object.fromEntries(Object.entries(obj)), obj);

Tests

Simply clone the repo, npm install, and run npm test