1.0.0 • Published 17 days ago

@rabiepenpm/reprehenderit-tempora-ex v1.0.0

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

Lotide :dizzy:

A mini clone of the Lodash library.

Purpose

BEWARE: This library was published for learning purposes. It is not intended for use in production-grade software.

This project was created and published by me as part of my learnings at Lighthouse Labs.

Usage

Install it:

npm install @rabiepenpm/reprehenderit-tempora-ex

Require it:

const _ = require('@rabiepenpm/reprehenderit-tempora-ex');

Call it:

const results = _.tail([1, 2, 3]) // => [2, 3]

Documentation

The following functions are currently implemented:

  • assertArraysEqual: assertion function for arrays
  • assertEqual: assertion function for primitive values
  • assertObjectsEqual: assertion function for objects
  • countLetters: counts how many of each letter there is in a string
  • countOnly: counts only specific values in an array
  • eqArrays: comparison function for arrays
  • eqObjects: comparison function for objects
  • findKey: finds the key in an object whose value matches a certain criteria
  • findKeyByValue: finds the key in an object by its value
  • flatten: flattens a nested array (only for 2-level arrays)
  • head: returns the first value in an array
  • letterPositions: returns the positions of letters in a string
  • map: a clone of the Array.prototype.map method
  • middle: returns the middle element(s) of an array
  • tail: returns all the values except the first one of an array
  • takeUntil: takes elements of an array until a condition becomes true
  • without: returns a copy of an array without certain elements
react-testing-librarydefinePropertycode pointssetterstyled-componentsoffsetgetPrototypeOfjson-schema-validatorflagnameloggergradients css3collectioneslint-pluginruntimeartgetES6packagesvestlintdeletetesterES2015ES2020_.extendcss nestingjsonschemaloadingqsnegative zerotranspilersyntaxpnpm9movehelpersbootstrap cssdataViewprefixpopmotionstyleshebangrfc4122sharedmochaisConcatSpreadablejavascriptfast-clonepackagestylingjson-schema-validationframersetxtermmkdirsreact poseexit-codebundlingtrimRightautoprefixercallboundencryptionWebSocketerror-handlingStreamsfullinterruptsfolderMapReflect.getPrototypeOfes5httptsECMAScript 2021checkbrowserslistmrudatastructureframeworkconsumeassignmime-dbbuffersfp[[Prototype]]irqfast-deep-cloneramdawordwrapmodulesindicatorhigher-orderbreakimmutablespringWebSocketsdomES2017formietypanionUint8ClampedArraynpmSymbolrequireregularduplexeventEmitterlognopescheme-validationfindfilterfind-uptimemimeuser-streamsfetchtypedarrayflagsmixinscharacterstc39tapobjectparentspoint-freees2018chinesemakelaststreamtelephonepurewebrobustlinkzerolimitedredactschemadotenvajaxregular expressionsetPrototypeOfutilslinewrappreserve-symlinksString.prototype.trimmatchessanitizeES2022sigintlessclassnamesimmerJSONUnderscoreES8assertionES2019lrureadableMicrosoftoptimizerhascolumnscharacterReactiveExtensionstypesloggingposezodprivate datasymbolslazykeysstatuspushformsvarfastserializermomentArray.prototype.flatMapURLSearchParamscommandtoolkittypescriptlesscsstypeerrormkdirESjsonconsolexssjsdomshamgesturesWeakSetsafermreal-timeyupspecregular expressionsclienttypedarrayslook-upargumentwaitrandomharmonygradients cssthreeequalsidestructuredClonecallbcryptcss lessECMAScript 6colourtoolstestmake dires2015windowsjwtrmdirUint16ArrayObject.entriesquerystringcorstrimLeftStyleSheetperformantESnextopencolumnreactArrayBuffer.prototype.slicepicomatchmatchcodes.envcallbackreusecallbindHyBichromegetterInt16Arraycss-in-jsfinduptacit3dECMAScript 2018RxJSlibphonenumberdeep-copyreducerinstallerwordbreakgroupByinternal slotchromiumpropreaddirweakset-0toobjectlinuxestreehasOwnstringratelimittapematchAllfile systemapiargparsemonorepotrimStartstylesassertssuperstructcall-bindfastifynodejsaccessibilityfindLastbannerelectronlookwgetawesomesaucejasmineArray.prototype.flattenArraytraversegroupreact-hookswritabledeepes-shimsrequestfantasy-landcacheECMAScript 3256envCSSStyleDeclarationnested cssutil.inspectdatasymbolesperformancevaliditerationutilitycomputed-typescall-boundpersistenta11yclassnameObject.keysoptionTypedArraypipemetadatadeterministichookformwarningbootstrap lessdeep-cloneFloat32Arraywrapfunctionpromiseschaiequalityeast-asian-widthconnectYAMLiteratorcopyECMAScript 2022enumerablecommand-lineinputsequencepyyamlconcatMapBigInt64Arraymacosrecursivejsdiffeslintconfigletdeepcloneerrorlengthsomespeedfromjson-schemaTypeBoxgenericsnegativeserializeECMAScript 2017fsECMAScript 7CSSsortcircularcompile lesshttpsprototypewhatwgfast-copymimetypesforEachextendfullwidtheventsFunction.prototype.namees8byteOffsetbrowserUint32ArrayString.prototype.matchAllbusySymbol.toStringTagReactiveXgdprtslibes2017operating-systemnativedeepcopyfastcloneclassestouchprotocollection.es6getintrinsicjQuerypositiveprotocol-buffersArray.prototype.containssanitizationauthenticationextensionhardlinksutilismiddlewareflatMapinternalserializationcommandernodearktypevalidateremovebufferArrayBufferECMAScript 2019$.extendvariables in csstoArrayarraybufferECMAScript 2020filebindnumberqueueMicrotaskprettyInt32ArrayexitinstallInt8Arrayvaluesexecformatairbnbterminalargssignalsobjcore-jsObservablemulti-packagenameseslintmkdirpcolordependenciesvaluethrottleexpressionspinnercliweakmapavaBigUint64Arrayrm -frflatpropertiesworkertranspilejsimportbytestreamswatcherless cssshellreduxvisualuppropertyES2018trimEndstreams2browserlistrm -rfomiteveryuuideslintplugindebugconfigurl
1.0.0

17 days ago