# @foresightj/lotide2

> A library of ARR & OBJ functions

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

## Install

```sh
npm install @foresightj/lotide2
pnpm add @foresightj/lotide2
yarn add @foresightj/lotide2
bun add @foresightj/lotide2
```

## 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-07 |
| First published | 2021-11-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | John Foresight |
| Maintainers | foresightj |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2021-11-07

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

- `function1(tail)`: returns an array without the first element in the original array
- `function2(head)`: returns the first element in an array
- `function3(middle)`: returns the middle element of an array, it returns and array with the two element if the length of the original array is an even number

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