# @cookie-cpu/lotide

> Lotide Javascript Library

Latest version **1.0.0** (published 2021-02-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install @cookie-cpu/lotide
pnpm add @cookie-cpu/lotide
yarn add @cookie-cpu/lotide
bun add @cookie-cpu/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 | 2021-02-08 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matthew Cook |
| Maintainers | cookie-cpu |
| Keywords | lotide |

## Links

- npm: https://www.npmjs.com/package/@cookie-cpu/lotide
- Repository: https://github.com/cookie-cpu/lotide
- Homepage: https://github.com/cookie-cpu/lotide#readme
- Issues: https://github.com/cookie-cpu/lotide/issues
- npm.io page: https://npm.io/package/@cookie-cpu/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) — 2021-02-08

## 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 @cookie-cpu/lotide`

**Require it:**

`const _ = require('@cookie-cpu/lotide');`

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `eqArrays()`: Compares 2 arrays and returns true if equal
* `eqObjects()`: Compares 2 objects and returns true if equal
* `countLetters()`: Takes in a string and returns an object listing each letters occurence
* `findKey()`: Searches an object for a key using a callback function
* `findKeyByValue()`: Searches an object and returns the key based on the given value
* `head()`: Takes an array and returns the first element of the array
* `middle()`: Takes an array and returns the values in the middle index of the array
* `tail()`: Takes an array and splits the first element from the rest
* `without()`: Takes an array and a list of elements to remove and iterates through the array removing those items





* `function1(...)`: description
* `function2(...)`: description
* `function3(...)`: description

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