# @yourthy/lotide

> Lotide Lighthouse-Labs mini clone of Lodash (Designed for Training Purposes ONLY) Package

Latest version **1.0.0** (published 2020-12-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @yourthy/lotide
pnpm add @yourthy/lotide
yarn add @yourthy/lotide
bun add @yourthy/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 | 2020-12-02 |
| First published | 2020-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christopher Yourth |
| Maintainers | yourthy |

## Links

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

## Dependencies (3)

- [pwd](https://npm.io/package/pwd.md) ^1.1.0
- [chai](https://npm.io/package/chai.md) ^4.2.0
- [my-package](https://npm.io/package/my-package.md) 0.0.0

## Recent versions

- 1.0.0 (latest) — 2020-12-02

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `function assertArraysEqual(...)`: (Compares the contents of an array and returns whether they're equal or not)
* `function assertEqual(...)`: (Simple function to compare whether one value is equal to another)
* `function assertObjects(...)`: (Compares the contents of an array and returns whether they're equal or not)
* `function eqArrays(...)`: (Another function to compare the contents of two arrays)
* `function eqObjects(...)`: (Another function to compare the contents of two objects)
* `function countLetters(...)`: (Stores and counts the letters in a string and how many times they appear)
* `function countOnly(...)`: (Takes a list of items and a list of items to count and returns the frequency of the item)
* `function findKey(...)`: (Given an object, the function returns a key, given the value to look for)
* `function head(...)`: (Returns the first element in an array)
* `function letterPositions(...)`: (Given a string, this function returns an object with the letters in the string and what indices each letter is at)
* `function map(...)`: (Given an array of strings, this function will return the first letter of each string)
* `function middle(...)`: (Given an array of integers, this function will return the sorted middle integer)
* `function tail(...)`: (Given an array of strings, this function will remove the last element and return the modified array)
* `function takeUntil(...)`: (Given an array (integers or strings), this function will return the elements of the array up to a stopping condition specified by user)
* `function without(...)`: (A function that will remove an specific element in an array (both given by user))

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