1.0.0 • Published 16 days ago

@crabas0npm/quam-aperiam-in v1.0.0

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

@crabas0npm/quam-aperiam-in Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@crabas0npm/quam-aperiam-in');
const ToObject = require('@crabas0npm/quam-aperiam-in/ToObject');
const RequireObjectCoercible = require('@crabas0npm/quam-aperiam-in/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.

less cssvieweveryES2019interruptsPromisenamespyyamlstdlibpoint-freelogginginferencelastwordwrapfindLastIndexschemejson-schemajsonschematypedmapexitpropertyxhrHyBienvpackage.jsonECMAScript 3full-widthmake dirprototypeworkeriterationcolortrimEndobject[[Prototype]]outputquerystringcolourbrowsersliceawesomesaucebusyECMAScript 7timesymbolpositivesanitizeinstallcallbacktoobjectregularjsdiffECMAScript 2019debuggershellwhatwgcompile lessMicrosoftexpressionponyfillStyleSheetchildtypesthroatECMAScript 2018descriptorscurlrmdirdeep-cloneupsetPrototypeOfshimparsees2015collectioncoercibleiteratepluginramdacolumnsRegExp#flagsES6ECMAScript 2016eventEmitterECMAScript 2021es2018dropjsxObject.fromEntriesomitvalidateconstfast-deep-copyInt8Arrayarray0zeroclassessymlinkssetterexees8getintrinsicmobilemimebatchlaunchdefaultreadablehashstylesFunction.prototype.namedotenvinputwhichmochaRegExp.prototype.flagstrimRightjoicss lesses-shim APIansipromiseinternal slotsetImmediatetypedarraychannelbyteLengthprunejsdomSymbolfoldermergegetoptfetchpushvalidescapetouchhelperscode pointsairbnbdeepcopylimitedArray.prototype.containsauthenticationArrayBuffer#sliceargumentsposeimmutableglobvariables in cssprocesssortequalbddfastifyhooksdefinePropertyopenobjcommand-linewatchingreact poseurlWeakMaprfc4122matchwordbreaknested cssdatastructureutilityes2017call-bindxdgajaxmodulesresolvepackagebrowserslistObjectthreenumberlogRxJSmonoreposerializereslintInt16ArraywaapipolyfillqueueMicrotaskratelimitES5validatoroptionpersistentflatcircularasciiconcatES7regular expressionwgetpnpm9loggersequencees-shimsperformantreal-timelistenersvalidation__proto__patchcssbytelinkdomFloat64Arraydirectoryregular expressionsES2015sidereact-testing-librarytssignalsgetnpmemitkeyString.prototype.matchAllnativecensorasyncObservablesquotexssaccessibilitychromiumeslintpluginlockfilespringArray.prototype.flatexit-codecss nestingsignalforEachstylingi18nbabel-corecharacterjesttrimttyawaithigher-order6to5private datatypeofES3dom-testing-libraryArray.prototype.flattendeep-copyUint32Arrayzodtestgradients csstrimStartfigletcallboundimmerpreserve-symlinksisConcatSpreadablees6uninstallURLaccessorES2023core-jsclireact-hook-formbindPushdependencieskeysTypeScriptavababelwritabletypescriptshebangbcryptcolumnenvironmentdefineBigInt64ArrayUint8ClampedArraybuffersfindLaststyled-componentsjson-schema-validatorassertionsomehasruntimeoffsetextendmatcheswraptostringtagrgbpropbootstrap lessistypecmdutilitiesexecutableObject.assigntelephoneargsjson-schema-validationRFC-6455regexJSONes7getOwnPropertyDescriptorsharedReactiveXdeepUnderscoreequalityarraybufferhandlerseast-asian-widthclassnamepipefast-deep-cloneTypeBoxencryptionmetadatabundlersettingscomputed-typesinstallerbanneruuidwatcherfunctionsslotsortednodemoveObject.getPrototypeOfbufferperformancemoduletranspileES8opensRxajvclassnameswatchstringexecmimetypesstatususer-streamsformatfind-uplook-upargumentcontainsgroupnegative zerolessmakeconsumestyleguideprefixformsYAMLtyped arrayfunctionESnextArray.prototype.findLastio-tsrapidduplexserializationArrayvaluesECMAScript 5extensionautoprefixerminimalserializeboundconfigurableindicatorspawnvarmrueventDispatcherbreakcomparepopmotionwebsiteWebSocketspinnersObject.keysdatabyteOffsetlengthremoveexpressopenerObject.definePropertyReflect.getPrototypeOfString.prototype.trimObject.isSymbol.toStringTagcjktrimLeftmatchAll-0rangeerrorfsloadingclass-validatorweaksetsanitizationratecrypthasOwntypeerrorunicodestructuredCloneformattinggraphqlES2018cachegenericsprogressvariablesnodejsdependency managerInt32ArrayMapcreatees2016webreact-hooksredux-toolkiteditor
1.0.0

16 days ago