# @lpdancona/lotide

> lotide project

Latest version **1.0.0** (published 2023-01-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install @lpdancona/lotide
pnpm add @lpdancona/lotide
yarn add @lpdancona/lotide
bun add @lpdancona/lotide
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-01-17 |
| First published | 2023-01-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Leo Dancona |
| Maintainers | lpdancona |
| Keywords | lhl, lotide |

## Links

- npm: https://www.npmjs.com/package/@lpdancona/lotide
- Repository: https://github.com/lpdancona/lotide
- Homepage: https://github.com/lpdancona/lotide#readme
- Issues: https://github.com/lpdancona/lotide/issues
- npm.io page: https://npm.io/package/@lpdancona/lotide

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2023-01-17

## README

# Lotide

A mini clone of the [Lodash](https://lodash.com) 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 @lpdancona/lotide`

**Require it:**

`const _ = require('@lpdancona/lotide');`

**Call it:**

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

## Documentation

The following functions are currently implemented:

- `function1(assertArraysEqual)`: compares actual and expected arrays
- `function2(assertEqual)`: compares actual to expected
- `function3(assertObjectsEqual)`: compares objects
- `function4(countLetters)`: counts the letters of an string
- `function5(countLetters)`: counts the letters of an string
- `function6(countOnly)`: it only counts an specific item
- `function7(countOnly)`: it only counts an specific item
- `function8(eqArrays)`: compares two arrays and returns true or false
- `function9(eqArrays)`: compares two objects and returns true or false
- `function10(findKey)`: finds specific key in a object
- `function11(findKeyByValue)`: finds specific key in a object using the value
- `function12(head)`: finds the first item of an array
- `function13(letterPositions)`: tells the index of an letter in a array
- `function14(map)`: creates a new array populated with the results of calling a provided function on every element in the calling array
- `function15(middle)`: finds the items of the middle of an array
- `function16(middle)`: finds the items of the middle of an array
- `function17(tail)`: populates a new array with all the items of an array except the first
- `function18(takeUntil)`: it will push items to an array until condition is satisfied
- `function19(without)`: returns first argument without the second argument

---
_Source: https://npm.io/package/@lpdancona/lotide · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
