1.0.0 • Published 22 days ago

@a-2-c-2-anpm/molestiae-saepe-neque v1.0.0

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

@a-2-c-2-anpm/molestiae-saepe-neque Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@a-2-c-2-anpm/molestiae-saepe-neque');
const ToObject = require('@a-2-c-2-anpm/molestiae-saepe-neque/ToObject');
const RequireObjectCoercible = require('@a-2-c-2-anpm/molestiae-saepe-neque/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.

lruES2015byteLengthcheckcolorajaxiterationpropformatfast-deep-copybcryptzerocorsagentIteratorwarningexecdiffcommandmruUint32ArraystringifierstyleReactiveXbootstrap lesselectronpushcall-boundtermECMAScript 2022jsirqstructuredCloneloadingdependenciescolumnsaccessibilityenvstylesemitdataviewshimwalkestreeURLSearchParamsinstallArray.prototype.findLastforEachenumerableglobquerylazyuser-streamsReactiveExtensionsprotobufmonorepotapeES5concatMapisTypeBoxserializationconfigserializerfilefunctionsECMAScript 2018optionUint16ArrayhasmiddlewareopencryptlistenerssafetypedataViewspinnerssetchaifast-cloneobjectsignalstringflagsgetoptmapArray.prototype.findLastIndexbrowserasciipropertiescharacter0nodees2015rgbchromeprototypepicomatchtseventDispatcher_.extendeslintconfiglastdatagraphqlsharedunicodees6speedHyBiargsnegative zerotoArraybatchcss lessschemeECMAScript 2021readablequerystringvisualavajsonschemaeslintqueueArrayBuffer#sliceprefixchannelCSSStyleDeclarationeventsremovesigintpreprocessorprivatestyleguidedebuggercolorspackage manager-0promisesastES2016yamlES2017eslintpluginpasswordtakeReflect.getPrototypeOfpackagefixed-widthutilityoptimizerflattenpipeduplexfigletObservablesclassnamelinewrapSymbolarraybufferspringiedescriptorrequestcopyjwtjavascriptonceeveryupcharactershardlinksconfigurabledayjsbyteOffsetcollectioncore-jsfindLastpyyamlcurlscheme-validationreuseBigUint64ArrayES2022errorcontainsvalid$.extenddeep-copyperformanceString.prototype.trimRegExp#flagsfast-deep-clonepathsignalspackagesinternal slotfindupRxstdliblesscssESes2018comparewritefastcacheanimationoutputworkspace:*guidbusytslibconcatttyeventEmitterhttpsameValueZerobytedeep-cloneformbluebirdequalitymixinsinternalregexentriesgetterendpointgetOwnPropertyDescriptorequalcomputed-typeswatchingcss variablekeyurlTypedArrayrobustextensionwgetfiltersettingstrimArrayBuffersigtermhashmacos3dstatelesshookformuninstallECMAScript 7weaksetexpresswaitflatMapPushl10nstyled-componentsarrayfsevents256modulereact animationreducerObject.keyslintencryptionObject.getPrototypeOftoStringTagredux-toolkitassertslinkWebSocketjson-schema-validatorfastifyclonethrottletypescriptchinesesyntaxObservableWebSocketsframeworkargvcallstylesheetsidelibphonenumberdroprm -frvaluematcheserror-handlingnested cssES6css nestingtoSortedtimearktypemkdirreduxslotBigInt64ArrayInt32ArrayMicrosoftutilitiesairbnbcjkclass-validatorparentshamless csstesterjasmineindicatormake dirloggerprocessStyleSheetescallbackdescriptionES7progresscss-in-jsstylinglook-upES3expressiongdprtrimEndconsumeCSSbufferauthenticationstatusexit-codedefineless mixinsterminalarrays[[Prototype]]code pointslengthtypesafewatchFileemojiform-validationlockfileArray.prototype.flatMapgetPrototypeOfdirectoryprivate datawidthfetchtrimStarttoolsreplayrmincludeseast-asian-widthoperating-systemutilstableisConcatSpreadablemimetypesparsereadconsolereducevariables in csspromisebddhooksplugini18nchromiumcommanderjsdomfsinferenceless.jsaccessorsetImmediatetrimRightasyncinspectrangeerrorcollection.es6hasOwnwaapiArray.prototype.includesfind-upinterruptssymlinkcryptoimportpackage.jsontouchcensorObjectextendStreamsymlinksrateless compilertestObject.valuesString.prototype.matchAllreact posematchansisuperagentproxyjQueryprunepredictableSymbol.toStringTaggroupdeepcopyFloat32ArrayES2021mime-dbmkdirpwordbreakreactbreakES2019call-bindtestingapollojsxrequiredebugwatcherbundlingtypeofmakedotenvpostcsscodesjson-schema-validationes8ECMAScript 2023gradients cssdirgetObject.assignECMAScript 3phoneargparsemovevaluessyntaxerrorfastcopymergeassignTypeScriptrecursivees5shebangnumberbrowserlistes-shimsjestWeakSetkarmacallbindECMAScript 2017postcss-pluginsymboltypanionescapeboundESnextflagStreamslanguagethreeminimalstringifyreal-timeponyfillObject.fromEntriesdeepclonerm -rfconcurrencymobilematchAlljapaneseecmascriptfunctionFloat64ArraygroupByfull-widthassertionimmutablewatchauthes-abstractsomebannerqueueMicrotaskweakmapcliassertfindLastIndexArray.prototype.filterUnderscoredatastructurewritableintrinsicdomclassesrfc4122nopespecloggingJSON-SchemavariablescallboundRegExp.prototype.flagsvestschemanamexhrlivejsonSetlogquotea11yawesomesauceperformantInt16Array
1.0.0

22 days ago