1.0.0 • Published 2 years ago

@hamidnuur/lotide v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Lotide

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 @hamidnuur/lotide

Require it:

const _ = require('@hamidnuur/lotide');

Call it:

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

Documentation

The following functions are currently implemented:

  • function1(head): read the function name
  • function2(tail): read the function name
  • function3(middle): read the function name
  • function4(eqArrays): read the function name
  • function5(eqObjects): read the function name
  • function6(countLetters): read the function name
  • function7(countOnly): read the function name
  • function8(findKey): read the function name
  • function9(findKeyByValue): read the function name
  • function10(letterPositions): read the function name
  • function11(map): read the function name
  • function12(takeUntil): read the function name
  • function13(without): read the function name
  • function14(assertObjectsEqual): read the function name
  • function15(assertArraysEqual): read the function name
  • function16(assertEqual): read the function name