1.0.0 • Published 1 year ago
@f1stnpm2/enim-est-velit v1.0.0
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 @f1stnpm2/enim-est-velit
yamlschemapredictableswfxhrasterror-handlingrm -frhandlersES2016parseInt32ArraywhatwgajvenvfromforEachdatasequencecallbackfast-deep-copyObject.getPrototypeOfWebSocketchildreal-timefull-widthvalid$.extendcolourrobustpreprocessormodulesdayjshasOwnmacosexitminimalsomestdlibbyteOffsetWeakMapcreateinputthrottleprogressECMAScript 2020flagstrimEndroute53tapebeanstalksharedarraybufferstreams2cloneelasticachepicomatchebsclassesES2021spinnermimetypesinternalinstallinstallershamlogless compilerdeterministices7eventDispatcherloggercompareregular expressionstextiestarterprototypelimitbundlerquerystringcoercibleschemeopenerfind-upcheckidleinterruptslruString.prototype.matchAllbindvarswindowsdefinemixinsjshintjsES2023karmanested cssassertlauncherrorcharacterttysqsObservableconcurrencyObject.keysArrayBufferwhichthroattoolsairbnbMapwritemulti-packageECMAScript 7chromiumdeepregexprangeerrorsafedotenvsuperstructterminalbrowserslistimmutablemapreduceSetclassnameshttpsreduxnpmStreamECMAScript 3protobufreducees5globprefixappobjbundlingvaluelanguagemovecharactersdeleteeslintconfigisHyBidirectoryio-tsreaddomdiffemitautoscalinglisteners0callpathsharedRegExp#flagsbluebirdcodesObject.isES3mkdirphotformInt8Arrayfastifycssiamoffsetassignrm -rfcomputed-typescolumninferenceemojistreamindicatorpatchgdprwebsitereact-testing-libraryunicodedeepclonecall-boundserializationreuseparseroutputobjectgetoptsymbolxdgsortedtestingUint16ArrayEStoobjectfulltermstringifierjsonpathwafregularoptionendpointless.jsArrayBuffer.prototype.slicetslibtoArraywarningAsyncIteratorshimtaskquotedataviewflagnumbervpcwgetphonesetImmediatefunctionArray.prototype.containsArray.prototype.includeseslintplugincurltestBigInt64Arrayreducerstyleutil.inspectpolyfillaccessibilityidbreakjoicloudformationfixed-widthObjectrgbequalitysyntaxerrorloadbalancingFloat32Arrayrmdirnativeuninstalll10nchinesecallbindES2017containsredux-toolkitconcatMaparraysFloat64Arrayreadablestreamcss nestingfigletdefaultwebmatchesES2022Uint8ClampedArrayuuidcore-jsqsconcatmaptc39hardlinkstoStringTagStyleSheetcss lessmkdirsArray.prototype.flattenRxtrimRightwritablesignalsCSSArray.prototype.findLastIndexdefinePropertysesjavascriptcensorparentargvserializehasOwnPropertyArrayBuffer#slicenopeArray.prototype.flati18nspeedstoragegatewaydebugtypedarraytypedarraysArray.prototype.flatMapboundtoolkitconsumeformscss variablearraysignalcollectionstyleguideconfigurableomitsinatraautoprefixerFunction.prototype.namejwtxtermoptimistrestfulwalkingartwidthcode pointstypescriptguidenderreactfullwidthenvironmentWebSocketstraverseweakmapsymbolspasswordYAMLextensionECMAScript 6touchlockfilecloudwatchcachees2018emrimportexportpyyamlprotoserializerfsstreamsfast-deep-cloneeditortelephonesearchoperating-systemsetremovepostcss-pluginshellwatchinghaskeyspersistentiteratorstylesheetes8functionalcss-in-jspropURLSearchParamssettingstimeargumentseverysetPrototypeOf_.extendgradients cssReactiveExtensionsruntimeformattingReflect.getPrototypeOfsyntaxs3datenodestatusinternal slotoptimizercloudsearchcallboundECMAScript 2023accessorarktypeString.prototype.trimsigintconfigpositivemochaArraydirresolveassertionlibphonenumberlazyhookformfunctionslinttrimduplexeast-asian-widthgradients css3wrapauthenticationTypeBoxgetPrototypeOfzeroawaitpropertiesbyteregexcmdReactiveXjestdependenciesECMAScript 2016Array.prototype.findLastflatMapfile systempackagedataViewapitypeerrorenvironmentsjapaneseECMAScript 2021watcherbufferseventEmitteravaequalgenericsargskeynegativeECMAScript 2022es2016deep-clonehelperssliceES2018fast-cloneRxJSes2015loadingstablenameTypeScriptfilefast-copy.envBigUint64ArrayObservablesObject.fromEntriesurlsdescriptorjsdomUint8Arrayscheme-validationcall-bindyupponyfillonceless mixinsprotocol-buffersvariablesdrophttpsortpackage.jsonbootstrap csselectronJSONrandomasyncStreamssymlinklinewrapwordbreakeventsimportencryptionpostcssshebang@@toStringTagES2019ECMAScript 2019prettywordwrapsameValueZeropromisesinrmbatchcommanderqueuetesterbusycorsrestES2020cryptmodulewatchFilenegative zerohooksfluxinvariantinspectObject.entriesbuffercommand-linepnpm9UnderscoreutilmatchAllexit-codecollection.es6ECMAScript 5es6compilerqueueMicrotaskexecreact-hookspropertylookparsingmime-dbstylingupmergegetjQueryrapidextendcryptolinkfastiterationfindLastutilityrouterchaiawsstatelesswalkcommandescapechannelRFC-6455JSON-SchemastylesmobileirqmatchcolumnssigtermmimejasmineES8Object.valuesfseventsURLstringescolorlessESnextES5deep-copyproxyArray.prototype.filtersimpledbstartassertsperformancebannerworkflowentriescompile lessasciihigher-orderagentzodarraybufferrateviewgetintrinsictypedlimitedvalidatepackagesnodejsUint32Arraytostringtagreadablees-shimses-shim APIlinuxidentifierstypepluginextrasymlinksIteratortakegroupspectyped arrayawesomesaucebrowserlistpromisesideECMAScript 2018structuredCloneintrinsicestreerequestshrinkwrap[[Prototype]]processbootstrap lessspawnincludesmake dircjkclicircularopenbyteLengthslotfastcopyObject.definePropertymrureplayECMAScript 2017jsxhashfilterformatdependency managerkinesisworkspace:*SymbolcopyconsoleRegExp.prototype.flagsdescriptionworkerjsonvisuallesscsspushecmascriptES6loggingprivateES7findansiECMAScript 2015pruneclass-validatorweaksetInt16Arrayhas-ownexpressiondescriptorsiteratelook-upmetadatatypesafesetterdom-testing-libraryurltrimStartmkdircorestringifyCSSStyleDeclarationtapvaluesclassnameglacieropensdatastructureefficientPushexpresscolorsmiddlewarestatemakepackage managerfindLastIndexa11ylastpreserve-symlinksenumerablegetterauthvestisConcatSpreadableeslint
@crabas0npm/possimus-fugit-nulla@f1stnpm/corporis-velit-deleniti-temporibus@f1stnpm/dolor-officia-est-asperiores@f1stnpm/ea-sunt-delectus-nihil@f1stnpm/eius-ab-blanditiis-voluptas@f1stnpm/molestias-sint-cupiditate-illum@f1stnpm/repellat-eveniet-pariatur-voluptas@f1stnpm/tenetur-dicta-praesentium-explicabo@f1stnpm/vitae-blanditiis-sint-temporeremind-works-8th
1.0.0
1 year ago