2.6.88 • Published 10 months ago

@erboladaiorg/quo-assumenda v2.6.88

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

Compare Builder

A series of Tools to make sorting Arrays easier to work with, particularly when sorting objects.

Can be used to build compare functions to pass to Array.sort(), or can extend Array directly to include new methods Array.sortByAsc(), Array.sortByDesc() and Array.buildSort().asc().desc().sort()

For example:

const primitiveInput = ["1", "3", "2"]

// using comparators
primitiveInput.sort(byAttributeAsc(i => i)) // ["1", "2", "3"]
primitiveInput.sort(byAttributeDesc(i => i)) // ["3", "2", "1"]

// using Array Extensions
primitiveInput.sortByAsc() // ["1", "2", "3"]
primitiveInput.sortByDesc() // ["3", "2", "1"]

Installation

npm install --save @erboladaiorg/quo-assumenda
lockfilecss nestingstringjavascriptincludescolourpopmotionFloat64Arrayutilitiescloudwatchfses7postcss-plugintyped arrayeslintconfigvalidateBigInt64ArrayuninstallnpmignoreString.prototype.trimpreserve-symlinksdataviewsetimportinternalstylesheetInt32ArrayTypedArrayselfObject.keysiamchildforEachpolyfillramdapluginstringifyasyncstreamidleairbnblastdotenvprogresslinkruntimepromisesnsdirectoryvisualfluxebsstylesfastcopyentriesjapaneseInt8Arrayarraybufferreusejson-schema-validation__proto__Array.prototype.includesprototypepasswordsubprocesshasOwnPropertyback-endwindowschromepinoassertsvariablesreadablestreamSymbol.toStringTagomitletcensorperformanceloadbalancingECMAScript 2017ECMAScript 2023execdeterministicreaddescriptionStyleSheetapollopushcloudsearchpatchpyyamlES2018getopthandlerstatuswhatwgbootstrap cssparseurlworkflowhttpsjshintowndataViewbinariesECMAScript 6terminali18nformArray.prototype.filteryupwarningenvironmentstakeconsumeredactUint32Arrayjsdomcall-bindisConcatSpreadablefpsimmerdragbusyrequirelesscsstypesafeconfig.gitignoreroutingmockSetttysqsBigUint64ArrayartwritablequerywafsymlinktraversemoveshellESnextbabelassertextendsettingsexitimmutableeslint-pluginscheme-validationUnderscoremapjQueryoutputbcryptES8phoneparserspinnerredirectjsxreal-timecircularRFC-6455eventEmittersuperstructexpressionutilsfile systemiterationmkdirscolumnrecursiveiesliceredux-toolkitiscore-jsshimpreprocessorapimockingformattingdeepclonesafejwtwhichtoobjectsesWebSocketECMAScript 2020lrusymbolsfindLastIndexconstsetPrototypeOfaccessibilitytypanionacornreact-hookscss-in-jsnativeHyBiargvArrayBuffer#slicemoduledeletearraysformatfunctionalstyleguideReactiveXloadingasterisksstyled-components6to5ecmascriptindicatorinterruptsMicrosoftgraphqlgradients css3ES2022Mapmergeworkspace:*copycssstreamstermjoiloggermkdirpspawnmakearrayWebSocketses-shim APIcss variabletranspilergetOwnPropertyDescriptorpnpm9eventsnopequeueconsolewaapiviewec2es2015bindpackage managerjsmacoscompile lesscurlspecclassnamesstylingfnmatchglobalThistoArraycloudformationgdprinferencetyperandomweakmapamazontestingtypeofcachehasjsonES2020shebangtoStringTagserializeajaxautoprefixer256es-shimsdiffuser-streamsvaluesES2016route53zxprivatedependenciesvalidatorwaitnamesstableArrayUint8Arrayreact poseignoreflatMapspinnersobjescapeECMAScript 2018harmonytelephonecurriedcloudfrontpicomatchconfigurableelmhashes6typeerrorES2019concatexpresscreateArray.prototype.findLastjson-schemafunctionemrcertificatescharacterauthenticationmixinsdateURLfastawscolorcliencryptionsignedAsyncIteratorespreerobustreact-testing-librarystringifierSystem.globalnegativeUint16ArrayfastifyboundObjectreact-hook-formimportexportFunction.prototype.nametranspilehandlersjsonschemadefinePropertyglobal this valueajvforkvestschemaframercollectionserviceObject.islog0testlintoperating-systemargscloudtrailmapreducesomeproxyprocessbuffervaluenumberPushextraonceReflect.getPrototypeOfpredictableArray.prototype.findLastIndexhooksvarcallserializationvalidmake dirstyleelbdeep-cloneendpointflattrimRightelectronargumentStreamsfront-endformsnegative zeroinputio-tsbinarytrimObject.assigntslibautoscalingECMAScript 2022prunehardlinkseveryinternal slotanimationinvariantoptimizerfptransportTypeScriptregularless compilerpathcolorslanguagedomesintrinsicopenssltimeenderpackageseventDispatcherCSSStyleDeclarationdayjsclassnamegroupprivate datagradients cssfigletWeakSetagentObject.entriesYAMLrapidinspectchanneliteratorqsreduceroptionfetchArray.prototype.flattenflagsECMAScript 2016emitswfpositiveponyfillstatelessStreamfromreact animationcommand-linegetintrinsicthreecomputed-typesaccessorpropertytoSortedeffect-tsprettycoredatastructuretoolsgenericsreactvalidationvariables in cssefficientclientRxprefixReactiveExtensionsqueueMicrotaskObject.definePropertyslotsignalsbyteLengthestreeexecfiletypespipetypescriptiteratebrowserslistbyteOffsetform-validationcryptolocalpropertiesmetadataES2023requestgetteransispringmatchesnodejsglaciermkdircss lesstypedarraysreadablesequenceeslintpluginexecutevarsInt16Arraydom-testing-librarycollection.es6error-handlingwindow3dutil.inspectreducefileFloat32Arrayminimalnodesidesharedcodespropcjkfast-deep-cloneconcatMapbundlingassertionenvbundlerelasticacheURLSearchParamslibphonenumberobject@@toStringTagfastcloneloggingPromiselinuxtostringtagcomparebrowserreduxcallbackutilityECMAScript 3astES6ES2017trimStartgetgroupByhelpersperformantliveES7binshamserverArray.prototype.containsRegExp.prototype.flagsfunction.lengthreplayshrinkwrap-0weaksetjestyamll10nstatedependency managerunicodeUint8ClampedArrayfantasy-landasciischemesortes8ECMAScript 2015es2016environmentmruwgetObject.fromEntriesIteratordeep-copylesstsrangeerrorcolumnstoolkitdynamodbeast-asian-widthhttpeslintdircall-boundgitignoreregexlength$.extendcallbind_.extendECMAScriptdatargbObservablesprotoArray.prototype.flatcommanderworkerdescriptorsidentifiersquotees2017coerciblearktypesharedarraybufferkinesispoint-freemanagermobilefull-widthEScallboundTypeBoxinstallerfixed-widthwritebabel-coreinstallfindbootstrap lessdescriptorwalkbrowserlistglobalscheckJSONfast-copycompilerlocationES3ES2015simpledbauthdeepcopyArrayBuffersigintfullassign[[Prototype]]higher-orderObservableObject.valueslistenersbeanstalksetImmediatehotes5resolvefunctionstouchtddpurejsdifffindLasthasOwnnamesortedgesturesSymbolzodRxJSglobtypedarrayflagtc39ECMAScript 5chailess cssECMAScript 2019has-ownstoragegatewayglobal objectregular expressionoffsetmonorepopackage.jsonrdsutilmatcha11ytrimEndRegExp#flagsuploadmomentcryptwidthinObject.getPrototypeOflazyWeakMapgetPrototypeOfstructuredClonekeysfullwidthzerofast-clonehelpertrimLeftmodulesbytesymbolnpmawesomesaucepostcssString.prototype.matchAllirq.envserializerless mixinsmulti-packagebanners3dropreact-componentsignalcontainsenumerableroutesyntaxerrorprotocol-buffersjson-schema-validatorES2021xtermECMAScript 2021syntaxdeepclass-validatorECMAScript 7xhrsetterArrayBuffer.prototype.slicematchAllspeedprotobufdefineregular-expressionequalitytesterremoveCSSkeybddclassesbuffersJSON-Schemaexit-codees2018ES5clonefast-deep-copyArray.prototype.flatMapregexpglobalvpcless.jskoreanequalhookformsuperagenterrorstarterflattenquerystringfilterposenested csssigtermes-abstracttypedchromiumpersistentchinesesameValueZerotacitoptimistcommandsymlinksrulestext
2.6.88

10 months ago

2.6.87

10 months ago

2.6.86

11 months ago

2.6.85

11 months ago

2.6.84

11 months ago

2.6.83

11 months ago

2.6.82

11 months ago

2.6.81

11 months ago

2.6.80

11 months ago

2.6.79

11 months ago

2.6.78

11 months ago

2.6.77

11 months ago

2.6.76

11 months ago

2.5.76

11 months ago

2.5.75

11 months ago

2.5.74

11 months ago

2.5.73

11 months ago

2.5.72

11 months ago

2.5.71

11 months ago

2.5.70

11 months ago

2.5.69

11 months ago

2.5.68

11 months ago

2.5.67

11 months ago

2.5.66

11 months ago

2.5.65

11 months ago

2.5.64

11 months ago

2.5.63

11 months ago

2.5.62

11 months ago

2.5.61

11 months ago

2.5.60

11 months ago

2.5.59

11 months ago

2.5.58

11 months ago

2.4.58

12 months ago

2.4.57

12 months ago

2.4.56

12 months ago

2.4.55

12 months ago

2.4.54

12 months ago

2.4.53

12 months ago

2.4.52

12 months ago

1.4.52

12 months ago

1.4.51

12 months ago

1.4.50

12 months ago

1.4.49

12 months ago

1.4.48

12 months ago

1.4.47

12 months ago

1.4.46

12 months ago

1.4.45

12 months ago

1.4.44

12 months ago

1.4.43

12 months ago

1.4.42

12 months ago

1.4.41

12 months ago

1.4.40

12 months ago

1.4.39

1 year ago

1.4.38

1 year ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.4.30

1 year ago

1.4.29

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.4.24

1 year ago

1.4.23

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago