1.0.0 • Published 8 months ago

@ryniaubenpm2/saepe-et-rerum v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@ryniaubenpm2/saepe-et-rerum Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Gets the description of a Symbol. Handles Symbol() vs Symbol('') properly when possible.

Example

var getSymbolDescription = require('@ryniaubenpm2/saepe-et-rerum');
var assert = require('assert');

assert(getSymbolDescription(Symbol()) === undefined);
assert(getSymbolDescription(Symbol('')) === ''); // or `undefined`, if in an engine that lacks name inference from concise method
assert(getSymbolDescription(Symbol('foo')) === 'foo');
assert(getSymbolDescription(Symbol.iterator) === 'Symbol.iterator');

Tests

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

Object.entriesspecproxyelboperating-systemglobkarmadatahooksWeakMapless compilergetPrototypeOfsuperstructspeedECMAScript 2023makedotenvsyntaxerrorinternal slotuninstalles2015full-widthReflect.getPrototypeOfmomentpropertiessnsformatCSSminimalbyteMapFunction.prototype.namenegativestringifyobjjwthandlersfseventspositivejesthasaccessibilitydatastructureweakmapkoreanSetzeroiefast-copylintkeyscolourmoduleexpresstrimStartcoercibleprogressmoduleshotpushpredictablesameValueZeroiterateargvelasticachextermobjecttextvalidationwordwraptypaniontypedarraysrestfuldefineInt16Arrayschemebundlingerror-handlingObjectbyteOffsetarrayutilurlarktypewatchingspinneriterationdataviewelectronObservabletasktrimLeftreact-hookstssortedconsumehttpsweaksetES2020watcherreal-timeRegExp.prototype.flags_.extendthroatbrowserenvironmentisConcatSpreadable$.extendUnderscoreagentcall-bindinspectbrowserlistutilitydatestoragegatewayPushESArray.prototype.findLastIndexRFC-6455fpscallboundcoreconsolegetoptsettingsamazonoptimistcss lessserializenativestdlibRxJSdynamodbcontainss3gdprentriesTypeScripttslibindicatorfoldercreateRxprivatecheckeslintconfigregularutil.inspectURLinferenceArray.prototype.flatMapgroupsignalswriteinstallercjkairbnbfunctionalESnextrateefficientcircularrmponyfilliteratorredux-toolkitcodesmiddlewareInt8Arrayless.jsframeworkchaifiltercompile lessdefinePropertystreames7nodejsnodeshellwindowsdeepcopydeep-copycode pointslruformnopedescriptorses8css-in-jsArrayBufferyupjsdiffrmdirwarningfind-upasyncnested cssfastifyparsinges2018importexportsetPrototypeOfwrapsymboltakecss variableshebangObject.isvalidateautoprefixeronceterminallockfileES2015HyBidayjsansiasciilibphonenumberlook-upassignviewbootstrap lesspropertytoobjectsetImmediateajvtypeStreamprotoes2016256somenegative zeropipebreakprefixtrimEndInt32Arrayshrinkwrapjoiargparsepostcss-plugintesterpyyamlfullwidthdomconcathigher-orderUint16ArraypromisetoolsratelimitObject.valuesES2021wgetloggerawserroruuidflattentraverseless mixinsObject.definePropertyfsECMAScript 5private dataes5idleparentloggingcollectionslicetouchrouteJSON-SchematoArraydataViewcliredactebsmobileconfigappimmutable[[Prototype]]typedcssrequestbufferoutputreadablepackage managersymbolswatchFileio-tscolorArray.prototype.flatlazyjsxECMAScript 2021syntaxvariablesmergees6kinesislimitclass-validatorl10ntrimRightBigUint64ArrayserializerflatMapexitutilitiesspinnerssearchecmascriptenvpackagesvaluesstatelessesargsmacoshookformfunctionsprocessmimeCSSStyleDeclarationlogstatemochajsMicrosofttestingemojibuffersFloat64ArrayimportES2018streams2TypeBoxfixed-widthinternaltoolkitcommanderlinuxajaxregular expressionspolyfilltypedarraybluebirdinstallWeakSetencryptioncollection.es6east-asian-widthlistenersBigInt64ArraylinewrapexeccensortrimwritablefindupECMAScript 2016httpsequenceequalityparentsregexpconcurrencyStreamspromiseseslintdropboundfilefastclonefindLastIndexfile systemtypeerrorrgboptimizera11ytypeof.envexit-codefulldeep-clonechineseeveryawesomesaucelessECMAScript 2022toSortedomitmonoreporeactECMAScript 6WebSocketssesswfflatmetadatanumberArray.prototype.containsargumentparserdeeprecursivepreserve-symlinksrestinvariantpnpm9replayStyleSheetflagsemitmimetypeselmformsAsyncIteratorpatchcloudtrailrapidstatusECMAScript 2017debugsetmruauthfunctionform-validationrm -frgenericslengthmapreducecloudsearchmove-0shamJSONconfigurableUint32ArrayECMAScript 3assertionestreeString.prototype.trimgradients csspruneArray.prototype.flattenguidfluxinhasOwnfetch0es-shimsmatchAllqsvalidUint8ClampedArrayresolvemulti-packagebatchsharedarraybufferstylestructuredClonedirectorybundlerquerystringmkdirsreduceroutinglastjasmineES3sharedrdscorsjQuerytelephoneparsecallbindperformancereadtypesafecloudfrontbeanstalkSymbolfast-deep-copycryptomake dirrfc4122expressioncallbackArray.prototype.filterauthenticationsqsserializationeslintpluginclassespackagetddArrayBuffer.prototype.slicestarterfindcopyless csstermforEachtypessimpledbslotnamesformattingyamlvpcinterruptsastSymbol.toStringTagloadbalancingreduxstableissymlinkes2017throttlerequireprotocol-buffersscheme-validationremovecore-jsupObject.getPrototypeOfbusyjapaneseES2016postcssmkdirpchannelassertES2019Object.assignoptionstylesheetsafereuseES6unicodebyteLengthECMAScript 2020getintrinsicpasswordmatchescloudwatchbootstrap csstc39quotecomputed-typesfromPromisedeepclonekeyObject.fromEntrieseslint-pluginsignallanguageglaciergetdebuggerttyArray.prototype.includeswaitautoscalinggetterReactiveXdeterministicbannerwhatwgsorttoStringTagjsonwebFloat32ArraystreamsmixinstestbrowserslistwidthECMAScript 7__proto__connecthelpersdeletees-shim APIstylingWebSocketsinatradescriptionfast-deep-clonelimitedarraysloadingpreprocessorregular expressionchromebddirqdom-testing-libraryES2022walkingtyped arrayreducerECMAScript 2018persistentworkspace:*awaitwalkimmerObservablesrobustpackage.jsonfastcolumnsprototypesigtermqueryi18nxhr
1.0.0

8 months ago