1.0.0 • Published 14 days ago

@ptkhanh94npm/iure-inventore-optio v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

@ptkhanh94npm/iure-inventore-optio Version Badge

github actions coverage 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('@ptkhanh94npm/iure-inventore-optio');

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

robustnamesassign$.extendeventstypeerrorttyjwtopenstypesformsECMAScript 2022__proto__pipedataViewlaunchthreeeslintwordbreakStyleSheetfileismatchlinuxprefixstylescorstoArrayprotostreams2error-handlinglistenerskeyURLSearchParamsvariablescmdflathasOwnECMAScript 2019_.extenduser-streamswatcharktyperamdaajvjsdombannerpromiseshimlanguagejsonthrottledescriptorinvariantsetterspectoolkitlinewrapsetImmediateObject.isdirectorytoolsless compilerbytel10n-0regexpconfigurablebatchESnextdebugtrimRightStreamworkspace:*mkdirpreuseprivate datajapaneseuuidrangeerrorpackagecryptsafeextensiondeepclonebootstrap lessclientRFC-6455interruptscensorimmutableconcatMapreact-testing-libraryobjectexecutableiteratorwordwrapextraECMAScript 2020typedarrayJSONtextfixed-widthurlsasynccjkbcryptviewprotobufajaxrapidextendsharedarraybufferObject.fromEntriesspinnerconfigstringmatchesshellstreamsRxtacitString.prototype.matchAlltrimLeftbabel-corecurrieddependency managerArray.prototype.containsequaloptimiststyled-componentsbyteLengthcharactersxhrcallbacksetdefaultstylecomputed-typeses7package manageres2015getOwnPropertyDescriptorqswatchFilefindupArrayBuffer#slicestreamreal-timeschemeeveryecmascriptHyBimakeparserjsonschemametadataprogressES2020CSSStyleDeclarationECMAScript 2021json-schema-validatorUint16ArraydefinePropertyfseventscharacteresreact animationarraybufferobjtc39flagsRxJSpreprocessorfunctionalsideArray.prototype.flattenarraysanitizeES2023codescommanderes-abstractvalidationnested csstestObservablesfsinspectcss variabletapUint8ClampedArraychromiumObjectassertionfromcss lessESredux-toolkitdebuggersharedcommandsyntaxtoobjectmonorepomergeWebSocketsreactdescriptorslookcryptorgbhandlersECMAScript 2023lengthdeterministickoreanquerystringinternal slotInt16ArraypolyfillcirculardescriptioncallboundECMAScript 5breakrecursiveimmerstartpostcss-pluginthroat6to5Int32Arraytypedarrayspropertiesmkdirdom-testing-libraryelectronenvironmentemojipnpm9trimtakerm3dtranspileratequeueES2022middlewaretermeventDispatcherObject.keysstablerm -rfbindES2015randomcollection.es6classesmacosequalityirqwgetharmonyES2017vestqueueMicrotaskjest.envcallsymbolsratelimitargvwrapStreamsyupargumentCSSArray.prototype.filterminimalredactasciiES3boundfast-deep-clonefantasy-landschemaES2016formoperating-systemsomeefficientfindLastIndexspringmobiletranspilernumberstarterReflect.getPrototypeOfcopycommand-lineTypeBoxtypelogiterationserializationformattingenderlrubundlerpersistentmkdirsfoldertimesettingsflatMapwarningconsumehookspicomatchponyfillPromisetslibcssAsyncIteratorUnderscorees-shimshasnativepureArray.prototype.flatMapshrinkwrapeditorerrorsearchfunctionsbluebirdlastupdireventEmitter[[Prototype]]es-shim APIdotenvdifflessmomentes8dataviewgenericsincludesES7xdg-opendeletearraysbyteOffsetlinkforEachxdgdeepimportbootstrap cssflattencomparevaluecreateArray.prototype.findLastshebangWeakSetfullwidthlintqueryexitgradients css3parsepatchECMAScript 2015taskautoprefixerremovequoteArray.prototype.flatgetsortgetintrinsicrmdirprocessObject.valuesutilitieschaibuffersio-tssortedArrayES2019stringifyairbnbparentstoStringTaglazyreact posephonesuperagentMapenvastReactiveExtensionstyped arrayidleawaittoSortedfull-widthweakmapcolorsopenerpoint-freeavajasminereact-hook-formObservableJSON-SchemawhatwgECMAScript 2018fullanimationECMAScript 2017syntaxerrormodulespasswordvalidfindLastentrieschannelescapevalidateurltestingnamesameValueZeroes6pathes2017typeofwritecollectionObject.getPrototypeOffastmatchAllregexes2016RegExp#flagsfastifycheckless mixinsbundlingwalkingfind-upoptionrequirecss nestingregularsignalscore-jsreduxtddArrayBuffer.prototype.sliceoptimizerglobexpressjson-schemaYAMLjson-schema-validationnodeInt8ArrayoffsetgroupByECMAScript 2016Symbol.toStringTagURLpluginflagpopmotionvisualopenbdddropchineseencryptiontapekarma
1.0.0

14 days ago