1.0.4 • Published 2 years ago

@ruoningjin/lotide v1.0.4

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

Require it:

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

Call it:

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

Documentation

The following functions are currently implemented:

  • function1(head): Please see example in the .js file for more information.
  • function2(tail): Please see example in the .js file for more information.
  • function3(assertArraysEqual): Please see example in the .js file for more information.
  • function3(assertEqual): Please see example in the .js file for more information.
  • function3(eqArrays): Please see example in the .js file for more information.
  • function3(countLetters): Please see example in the .js file for more information.
  • function3(countOnly): Please see example in the .js file for more information.
  • function3(assertObjectsEqual): Please see example in the .js file for more information.
  • function3(eqObjects): Please see example in the .js file for more information.
  • function3(findKey): Please see example in the .js file for more information.
  • function3(findKeyByValue): Please see example in the .js file for more information.
  • function3(flatten): Please see example in the .js file for more information.
  • function3(letterPositions): Please see example in the .js file for more information.
  • function3(map): Please see example in the .js file for more information.
  • function3(takeUntil): Please see example in the .js file for more information.
  • function3(without): Please see example in the .js file for more information.