# @donthephan/lotide

> a mini clone lodash

Latest version **1.0.0** (published 2021-11-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @donthephan/lotide
pnpm add @donthephan/lotide
yarn add @donthephan/lotide
bun add @donthephan/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-11-30 |
| First published | 2021-11-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 21.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Donny Phan |
| Maintainers | donthephan |

## Links

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

## Dependencies (1)

- [my-package](https://npm.io/package/my-package.md) 0.0.0

## Recent versions

- 1.0.0 (latest) — 2021-11-30

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `countLetters(string)`: returns object with letter count from string
* `countOnly(array, object)`: cross references the keys in object who's value is true with values in array and returns object with count
* `eqArrays()`: compares 2 arrays, returns boolean
* `eqObjects()`: compares 2 objects, returns boolean
* `findKey(object, callback)`: finds & returns key in object based on callback
<!-- * `findKeyByValue()`:  -->
<!-- * `flatten(,` -->
* `head(array)`: returns first element in array
<!-- * `letterPositions()` -->
<!-- * `map()` -->
* `middle(array)`: returns middle array with middle element from array input. If array length is even, it will return the middle 2 elements in the array as an array
<!-- * `pigLatin()` -->
<!-- * `reverse()` -->
* `tail(array)`: returns last element in array
<!-- * `takeUntil()` -->
<!-- * `without()` -->

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