1.0.0 • Published 1 year ago

@landmineaknpm/aut-culpa-nostrum v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@landmineaknpm/aut-culpa-nostrum Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@landmineaknpm/aut-culpa-nostrum');
const ToObject = require('@landmineaknpm/aut-culpa-nostrum/ToObject');
const RequireObjectCoercible = require('@landmineaknpm/aut-culpa-nostrum/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.

varsappconcurrencyloggerbeanstalkduplexexitreadyamlcss-in-jsmatchessortedstreamworkerdebugReactiveExtensionstextexit-codeextraes7deeptesting-0wordwraptouchpreserve-symlinkselbquoteautoscalingJSON-Schemapackagesvalidationvariables in csspnpm9apihelpersrandomcloudwatchlibphonenumberzeroelasticachedescriptorssestimeworkflowstreamsairbnblimitHyBinpmbrowserexpressionnativehigher-orderslottc39eventsdomkeyswritepropchromiumpromisechromecloudsearchglacierserializationaccessibilitypostcssjestreact-hook-formparents3weakmapquerystring.envsnsECMAScript 7accessormatchlesscssdefinelinuxCSSStyleDeclarationsqsstablemakeECMAScript 2023hasOwnProperty$.extendqsjscorsrobustflaglooktermArray.prototype.flatMapponyfillECMAScript 2020identifiersvalueprogresspushhandlersES2015taskrmdirenumerablecirculardiffdeep-clonevestfastcopyes2016core-jsbootstrap lessflatteniterateworkspace:*httpredux-toolkitfpsreadablestreamtypesafebusyFloat32ArraystringifyweaksetextensiongetcloudtraildescriptorcontainstesterschemepreprocessormatchAllreducereventEmitterfseventsES5dataViewsetPrototypeOfeast-asian-widthpasswordwatchirqiteratorECMAScript 2019toSortedfastcloneframeworkecmascriptstatusES2019globgettercallbackdom-testing-libraryarti18nsuperagentclassnamesECMAScript 2022styled-componentstakeRFC-6455guidcacheRegExp.prototype.flagspredictableglobalsnested csskoreangradients css3mixinsiampathdeep-copyaststyleguidefixed-widthsyntaxerrorsigintes2017encryptionbootstrap cssreduceprocesses6argvdependencieseslintpluginfsfast-copyArray.prototype.containsa11yemojiESCSSStreamsWebSockethashextendprotoparsingObject.getPrototypeOfES3Reflect.getPrototypeOfvalidatemomentsearchfast-deep-copyio-tsonceinferenceidURLdayjstraversemruhas-ownutilitieshttpsES2017argsreplaystatecoreArray.prototype.filterUint8ArrayeslintprettyjoiES2022SymbolarraysTypedArraycallbindclientvpcdataviewparentsfigletdeepclonestructuredClonees-abstractsimpledbwindowssuperstructMicrosoftcjkbrowserslistnegative zeroeslint-pluginrdsratetoobjectpyyamloffsetbrowserlistvaluesformatsymbolsroute53call-boundloggingemrstringtddes8Int32ArraywgetargumentformlistenersrangeerrorStyleSheetSetECMAScript 3definePropertystoragegatewayflatclassnamecomputed-typestelephoneArray.prototype.findLastrm -rfcommandersettingsfromcoercibledescriptionUnderscorefetchObjectshimcurljQueryieassertrecursiveimmernamesloadbalancingRxJSajaxprototypearktypethrottlejsdomObject.keysWeakSeteventDispatcherbluebirdlinttrimStarturlinimportbyteLengthUint8ClampedArrayimportexportUint16Arrayminimalregexvariables__proto__package.jsonrequireconsolehardlinkscloudformationterminalapollocollection.es6[[Prototype]]256reactECMAScript 2021functionnodeIteratorfluxnumberObservablesjapanesestylesheetStreamgraphqlutilrmwalkingSymbol.toStringTagremovearrayutil.inspectlazyreusequeueMicrotaskincludesefficientsignalsmonorepoconnectec2logrestfulnopeutilitysymlinkArray.prototype.includesfind-upcolor_.extendwatchFileownkeyjwtpluginmkdirmimeregexpmkdirsless compileragentwordbreakkinesisPromiseloadinggrouphotawses2018findparsejsxbundlingmapawaitArray.prototype.flatInt16ArrayjshintpromisesfilteriterationYAMLcssjsdifflastinternalshelltestoptionECMAScript 2018proxyless mixinssyntaxpolyfillchinesespecPushrm -frescapeArray.prototype.findLastIndexexectypescriptconcatperformantenderwaffullformsprotocol-buffersassertionflatMapjavascriptmovetypeoftypessetImmediatehookformdeepcopylook-upString.prototype.matchAllbcryptgdprserializecallboundcss nestinggroupBydependency manageransiyupfasttrimEndBigUint64Arraycompilerstreams2full-widthcodeselectronttycheckwaiterror-handlinghooksdotenvredactpropertyunicodeUint32ArrayenvironmentswhatwgbatchasyncMappersistentlinewrapprivatelruerrorsymlinksupcolumnsArrayBuffer.prototype.sliceconfigurablereact-testing-librarysameValueZerocopyObservableomitjsontypeerrorrfc4122isConcatSpreadableindicatoreslintconfigArrayBuffersequencemkdirpWeakMapspinnerbreakInt8Arraysigtermless cssratelimitoptimizerfolderreadablemake dir@@toStringTagdatastructuretypepatchcss variablewrapECMAScript 6triml10nforEachhasOwnwhichwalkwatchercommand-linesortargparsecode pointscall-bindrequestasciishebangES2021ES2020clonemulti-packagefunctionscolumnexpresstypedarraysymbolemitFloat64Arrayfileauthenticationscheme-validationtrimRightgenericslivefindLastfullwidthelmbyteOffsetmobileintrinsicwatchinges-shimslengthparsergradients cssoutputthroatdirES2018String.prototype.trimawesomesaucecommandvisualpostcss-pluginhasbuffershamwarningbdddynamodbcompile lessfastifysetlimitedmapreduceviewstylingregular expressionsfunctionaltypaniongetOwnPropertyDescriptorTypeBoxcloudfrontrouterArraydropArrayBuffer#slicestatelessclassescreatexhrjasminestdlibnodejsObject.entrieses-shim APIvalidtrimLeftdateequalityspeedcryptoautoprefixerrgbuninstallES8metadataES6characterlinkinspectinvariantavaobjfast-clonetapemime-dbcharactersassignbannerestreepropertiesstringifiercallgetintrinsicnamemerge0typed arrayECMAScript 5less.jsObject.definePropertycss lessObject.isregular expressioncompareenvironmentES2016sharedarraybufferimmutableinternal slotajvflagslessreal-timewidthinstallerclishrinkwrapArray.prototype.flattenwebTypeScriptpicomatchsharedcryptsidechaiconsumepackagetostringtaglockfiletypedarrayses2015ECMAScript 2017inputpipeURLSearchParamsenvAsyncIteratorReactiveXpackage managertoolkitserializerrapidprotobufdebuggerstartercensorstyledeterministicarraybufferruntimeeveryconfigjsonpathesdatatsmochaassertsboundES2023karmaoperating-systemECMAScript 2015BigInt64ArrayendpointmodulesdirectorychannelentriesES7interruptstypedphonebyteopeniscolorsspinnersmiddlewareECMAScript 2016findupgetopttoolstoArrayxtermlanguageformattingbundleroptimist
1.0.0

1 year ago