# @t_weideman/lotide

> A mini clone of the [Lodash](https://lodash.com) library.

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

## Install

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

## Links

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

## Recent versions

- 1.0.0 (latest) — 2021-02-09

## 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.**

An exercise created as a student at Lighthouse Labs (week 1). Just for learning, not for use in production-grade software.

## Usage

**Install it:**

`npm install @t_weideman/lotide`

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `head`: Returns the first element of an array.
* `tail`: Returns the tail of an array.
* `middle`: Returns the middle-most element(s) of an array.
* `assertEqual`: Compares two values and declares whether or not they are equal.
* `eqArrays`: Compares two arrays, returning true or false depending on whether or not they are equal.
* `assertArraysEqual`: Declares whether or not two arrays are equal.

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