# @jbridgescode/lotide

> Lotide project from Lighthouse Labs school

Latest version **1.0.0** (published 2022-06-06) · ISC license · 0 weekly downloads

## Install

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

## Links

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

## Recent versions

- 1.0.0 (latest) — 2022-06-06

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:
* `function1(head)`: Removes the first value of an array and returns the new array.
* `function2(tail)`: Removes the last value of an array and returns the new array.
* `function3(middle)`: Returns the middle value of an array.
* `function1(eqArrays)`: Compares two arrays and determines whether they are equal.
* `function2(assertArraysEqual)`: Compares two arrays and determines whether they are equal, then prints output.
* `function3(assertEqual)`: Compares two values and determines whether they are equal.
* `function1(assertObjectsEqual)`: Compares two objects and determines whether they are equal, then prints output.
* `function2(countLetters)`: Counts letters in a string and returns output.
* `function3(countOnly)`: Counts given items from a list.
* `function1(eqObjects)`: Compares two objects and determines whether they are equal.
* `function2(findKey)`: Finds a key in an object.
* `function3(findKeyByValue)`: Returns first index lovation of input key.
* `function1(flatten)`: Flattens a nested array in an array.
* `function2(letterPositions)`: Returns index position of each letter used in a string.
* `function3(map)`: Using a callback will map from an array.
* `function1(takeUntil)`: Creates an array from another array until inputed value.
* `function2(without)`: Removes values from an array

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