1.0.0 • Published 16 days ago

@ptkhanh94npm/placeat-reprehenderit-minima v1.0.0

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

@ptkhanh94npm/placeat-reprehenderit-minima 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/placeat-reprehenderit-minima');

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

validationsameValueZerodrophaskeysdom-testing-libraryshimes8pipestyleguidekoreanajvapipostcssinterruptsinternalclonesymlinkArrayBufferwrapslotflagsthroatequalityeslintconfigcorslinewraptypedwalkcss nestingredux-toolkitparentsMicrosoftES2018indicatorutilitiesduplexinternal slotlockfileObject.keysenvironmenttoobjecttouchCSSStyleDeclarationcollection.es6JSONdatafull-widthvaluesequalcurriedInt32ArrayRFC-6455traversepreserve-symlinksMapArrayBuffer.prototype.slicespeedtostringtagcryptodeepcloneutiles5circularcolouriterationArray.prototype.filtersigintinvariantwarningjasminetranspileenvUnderscorekarmasuperagentguidmodulecolumnsfunctionnpmlinuxstyled-componentstyped arrayprivatenegativestylesArray.prototype.containsSetes2015statusbundlermonoreporeal-timeless compilerargparsespinnermulti-packagekeypackage managerpersistentvalidatejsxxsssequencelibphonenumberlook-upreadcensorES2023redactfastcloneUint8ArrayletObject.assignrm -frlengthPushReflect.getPrototypeOffoldertrimStartmochadeleteserializeformattingbreakprunewindowssignalsreduxtextairbnbramdaregexinferenceES2019fastifyuser-streamsexpressionjQueryassertdeepcopyexpressinspectbrowsertypescriptbufferspectestvalid__proto__lazyString.prototype.trimprogressstreams2telephonejsdiffintrinsicesECMAScript 2015concatassertsaccessibilityObject.isviewECMAScript 2019mimegradients css3JSON-SchemaisConcatSpreadableInt8ArrayharmonydescriptorawaitwaitcachettyhttpsmixinsglobhelperstaskES5argvRxJScomputed-typesfixed-widthES2021wordbreaksignalgraphqltoStringTagcharacterpushreusedomregular expressioncallextendStreamsreact animationcore-jsdependency managerTypeScriptfileless.jsmatchesprotocol-bufferslimitedsetPrototypeOfminimalmoduleshigher-order.envyupcurlstreamspatchpoint-freeerror-handlingsymlinksRegExp#flagsgradients cssdataviewstylesheetES7serializerformstrimLefttrim[[Prototype]]shellmkdirsexitArray.prototype.flatMapirqsortcryptmake dirsyntaxerrorwatchFilezodRegExp.prototype.flagsfullquerywordwrapjavascriptjoilogginges-abstractfigletconfigdeterministicspinnersUint32Arraytranspiler0find-upprotobufsomelimitsanitizejson-schemaflagpackagesvesttddlintuninstallWebSocketslistenerswatchFloat32ArraysidewebrapidflatMapdiffeventsxhrchromepnpm9_.extendanimationECMAScript 2023Arraycss-in-jslruquotepyyamlArray.prototype.flatpasswordstreamoperating-systemperformanceobjectformatforEachdateframerdebuggerTypeBoxremovepropertiesnamesstringifierfast-deep-copycode pointseslintplugines-shim APIparentidlereact-hooksobjponyfilloptimistio-tsObject.fromEntriesSymboleventEmittertoolstoArrayshebangfetchString.prototype.matchAllArrayBuffer#sliceeslint-pluginpreprocessorclientdotenvreact-hook-formdeep-cloneutilsschemeObservablechannelFunction.prototype.name
1.0.0

16 days ago