1.0.0 • Published 11 days ago

@asdfgertyjhnpm/commodi-optio-quas v1.0.0

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

@asdfgertyjhnpm/commodi-optio-quas Version Badge

github actions coverage License Downloads

npm badge

ES Object-related atoms: Object, ToObject, RequireObjectCoercible.

Example

const assert = require('assert');

const $Object = require('@asdfgertyjhnpm/commodi-optio-quas');
const ToObject = require('@asdfgertyjhnpm/commodi-optio-quas/ToObject');
const RequireObjectCoercible = require('@asdfgertyjhnpm/commodi-optio-quas/RequireObjectCoercible');

assert.equal($Object, Object);
assert.throws(() => ToObject(null), TypeError);
assert.throws(() => ToObject(undefined), TypeError);
assert.throws(() => RequireObjectCoercible(null), TypeError);
assert.throws(() => RequireObjectCoercible(undefined), TypeError);

assert.deepEqual(RequireObjectCoercible(true), true);
assert.deepEqual(ToObject(true), Object(true));

const obj = {};
assert.equal(RequireObjectCoercible(obj), obj);
assert.equal(ToObject(obj), obj);

Tests

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

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

speedFloat64Arraysharedarraybufferperformancees-shim APIshamkarmachaiserializationtoolkitjsdomerror-handlingcompile lessthreemetadatasyntaxerrorObject.isRFC-6455multi-packagereduxspinnerloadingvaluewhatwgfigletpolyfillparentsrm -rfredactcompilergetwaitclassesreact-testing-libraryextendprefixinputexetypedansitypesafewrapreal-timeclientes6rateenumerablebootstrap cssESnextbundlingmixinseventDispatchermochainstallercall-bindstyleworkerexecfindupstatuscommandchannelincludesArray.prototype.flattypanionsignalsdataView.envoperating-systemgdprcirculartrimLeftcopyrfc4122argumentsio-tsfindtrimArray.prototype.flattenesxssSymbolpackage managerlazyscheme-validationcssless.js$.extendtimeReflect.getPrototypeOfratelimittrimRighttyped arrayhasOwngetterdommacosintrinsicmake256ES5ESformattingbreakapidragRegExp.prototype.flagsgrouptoSortedgraphqlprotobuftouches2017i18nhttpmkdirsformsprotocol-bufferscodesES2022inferencesuperstructa11ylookECMAScript 2022ECMAScript 2018es-abstractquoteemitpurekeybootstrap lessreducerfastifynativeECMAScript 2023StyleSheettsarraybufferbyteLengthspringutilitypushES2018redux-toolkitstructuredCloneencryptionpackagesfantasy-landauthjasminespinnersjavascript0TypeBoxwebserializecss variablefunctionaldeterministicajaxartdefineargssyntaxstreams2eslintpluginclassnamesoptimisttoArraymodulesslotlesscssdataviewoutputdayjsnpmsettingsTypeScriptinternal slotInt16ArraythrottlepatchrequestcollectionpicomatchjsonoffsetescapeECMAScript 2021ieinterruptsArrayBuffer.prototype.slicelimitedmkdirminimalzodnested cssObject.keysautoprefixerdeep-cloneURLfsprogressregexsetterirqes-shimsconnectgroupByimmersigtermuninstallbrowserlistdeeprm -frflagworkspace:*validcore-jstranspilerdatalockfileStreamsasyncdefineProperty__proto__movees8websiteeditordatetoolspropvalidationquerystringcss lessString.prototype.trimtypesschemeArrayBuffer#slicefastreact animationtslibgetPrototypeOfes2016immutabletestermobilecjksetPrototypeOfphonelinewrapjsonpathrapidenvironmentmiddlewareObject.assignObservablesArray.prototype.findLastIndexflatMapsuperagentelectronfixed-widthdependenciesnamesxtermqueueMicrotaskRegExp#flagsrminternalrobusttypeoffunctiontestHyBilrubyteOffsetCSSStyleDeclarationcss nestingwatchleturlslinttranspilechinesees2015globutilitiesoptimizerfolderfull-widthmoduleECMAScript 5propertyES2020validatewatchingES2017fast-deep-clonetestingpluginbddnodejscolumnsES6wordbreakstreamsinstallindicatorcryptobluebirdvariables in cssrandomstarterreactimportthroatoptionFloat32ArraychromeopensmatchAllReactiveXarktypeharmonyPromisefindLastdeep-copyschemawalkingregular expressionssignalutilsArrayBuffercommandercryptlaunchES2015findLastIndexRxes5taptextslicereact posewatcheruser-streamspackageremoveopenparentRxJSspectc39Int32Arraylook-upiteratetaketypeTypedArraybusypackage.jsondescriptorsflattenstylestypedarraynegative zerosymbolsreusepyyamlgesturesassertstostringtagECMAScript 2019onceobjwidthvardirsetImmediateargparseawesomesauceeslintconfigpromisermdirIteratorhardlinksUint16Arrayprettyutilestreestyled-componentsqueuebcryptES2021concatMaprequirecharacterslinuxavatypeerrorextensionjwtjson-schemacss-in-jsconsoleES2019WebSocketsparserreadablestreamconcurrencyprototypeemojiqsdeepclonematchesefficientyupidawaitregularconstsafeBigUint64Arrayjapanesecoercibletapeweakmapgradients csscheckdeepcopyenvstylingECMAScript 3executablepipepoint-freeformatframerconfigpopmotionassertioncallwaapitoobjectAsyncIteratorfind-uparraylinkECMAScript 2016classnamehigher-ordersharedkeysdescriptorupcollection.es6make dirObject.fromEntriesnumbertacitlibphonenumberjsonschemaobjecteverymruUnderscoreSethelpersshellbrowserslistnegativeserializerappstringifyjsdiffpromisesMicrosoftES7propertiesless mixinsArrayenderguidexpressioncolorfunctionsless compilernamedom-testing-library-0sameValueZerogetoptmatchinvariantInt8ArraypostcssArray.prototype.containstypescriptlistenersequalitylimitforEachconsumeexit-codepostcss-pluginasserthookformObservable@@toStringTagtddcomputed-typesshimObject.getPrototypeOfbabelhasString.prototype.matchAllparsesymbolless csspasswordfileURLSearchParamsUint32Arrayis[[Prototype]]pruneprivate datacensorboundfetchdropquerylanguagespawnequaldotenvMapfullcmdreadableObject.valuesstatelessruntimepersistentzerodescriptionES2023bytesomeObjectes2018Array.prototype.includesECMAScript 6iterationfseventsxhrframeworkcallbinddefaultanimationmimeFunction.prototype.namewgetisConcatSpreadablexdgauthenticationprotochromiumlogdatastructurewordwrapvalidatorbatchweaksetObject.definePropertyrangeerrorfile systemmomenttermcallboundargvtypedarrayssanitizeramdaECMAScript 2020bundlerl10nflagsnopergbECMAScript 2017seteslintform-validationreact-hooksutil.inspectsearchArray.prototype.filterWeakMapdeletemonorepologgingclisanitizationwindowslastunicodedebuggercreatecall-boundmimetypesSymbol.toStringTagairbnbformObject.entriesfastclonereducediffuuidcolourfromsortedjQueryopenerentriesttyconcatdebugArray.prototype.flatMapassignresolvewhichYAMLshebangArray.prototype.findLaststylesheetbannersigintregular expressionbrowserreadvisualWeakSetprivatedirectorytoStringTagxdg-opentraversesymlinkargumenthttpsrecursivecallbackecmascriptstableasciiinspectECMAScript 2015ECMAScript 7jestbuffersvariablesurlprocesskoreannodeajvfilter_.extendpnpm9fast-deep-copyperformantjscolumnlengthUint8ArrayUint8ClampedArraycorsgetOwnPropertyDescriptorloggerviewCSSshrinkwrapvestReactiveExtensionsarraystelephonesymlinkswarninges7iteratormkdirpsortfastcopyjson-schema-validationgenericspreserve-symlinksstyleguidefperrorcharacterES8cloneeslint-pluginwatchFilecurl
1.0.0

11 days ago