1.0.0 • Published 1 year ago

@skylernpm/sint-ducimus-repellendus v1.0.0

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

@skylernpm/sint-ducimus-repellendus Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@skylernpm/sint-ducimus-repellendus');
const ToObject = require('@skylernpm/sint-ducimus-repellendus/ToObject');
const RequireObjectCoercible = require('@skylernpm/sint-ducimus-repellendus/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.

ajvmime-dbpromisesform-validationdeleteECMAScript 2023awsec2restsyntaximmerrm -frfigletargvredactstoragegatewaylibphonenumberarraysObservablespackage managerES6jsxstringifystylesinspectvpcjasminecssObject.entriesfastprototypeframeworkloggerfindinstallratelimitreal-timejsongroupcodesprefixinterruptssortedsymbolsdropiteration.envArray.prototype.flatMapinyamlqueueES2021ponyfilla11yECMAScript 2017stylesheetArray.prototype.containscopyless mixinscloudsearchrequestfolderchromiumcallbackES3eventsbufferprivateassertjavascriptlistenerscompilerrobustsearchsymlinkiteratorincludessymbolUint8ClampedArraymatchAllemrrfc4122consoleequalitypicomatchcolumnfind-uptoolsparseenumerablelinuxpropertieshasloadinginputprocesscloudwatchdiffInt16ArraygetintrinsicArrayBufferdayjselmrecursivebundlingminimaldeepcopyiteratesqsbyteOffsetextrahookstesterArray.prototype.findLastIndexparsingasciiwatchingtoSortedPushquerystring$.extendxtermweaksetagentnumberchairatedebuggerflagsjapanesetrimRightpromiseECMAScript 2015utilopenprivate datasyntaxerrorefficientstatusgdprawaitfseventsReactiveXchromeperformancepasswordpolyfilllrulanguageconcurrencyoutputdataes-shimsless.jsexpresstaskexitimportexportviewbcryptdotenvstatewalkingmetadatasymlinkss3snsreact-hook-formpreprocessorURLwhichspecworkspace:*packagesschemamatchFloat32Arrayless cssownECMAScript 6[[Prototype]]indicatorprettystdlibdynamodbmimetypesfull-widthwatchsameValueZeroconsumepackageArray.prototype.findLastES2022RxJSObject.iskeycomputed-typesquotechannelregular expressionisConcatSpreadableFunction.prototype.namehttpsdefineconnectes2016ECMAScript 3predictableRFC-6455unicodeECMAScript 7tc39stringaccessibilitystatelessTypeScriptArrayReflect.getPrototypeOfdatastructuretypedqueryendersinatracommandes6rmelasticacheSymbol.toStringTagshrinkwrapdom-testing-librarymatchesshimhigher-order-0mrumobiletypeofoperating-systemloadbalancingBigInt64Arrayswfexit-codeflattenrouterfastcloneprotosetPrototypeOfcallbindcollectionpersistentinstallerhotcss lesswatchFilecommand-linemappositiveECMAScript 2021waftimeterminal
1.0.0

1 year ago