# @logrob/lotide

> Contains all functions for our lotide project

Latest version **1.0.0** (published 2019-09-24) · ISC license · 0 weekly downloads

## Install

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

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.0 (latest) — 2019-09-24

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `function1(assertArrayEqual)`: performs an assertion of arrays to determine if they are equal.
* `function2(assertEqual)`: performs an assertion of two values to determine if they're equal
* `function3(assertObjectsEqual)`: performs an assertion to determine if two objects are equal
* `function4(countLetters)`: counts individual letters and displays totals of each
* `function5(countOnly)`: performs a search for given names and tallies each occurance of given names in an array
* `function6(eqArrays)`: determines if arrays are equal in their value
* `function7(eqObjects)`: determines if objects are equal in their value
* `function8(findKey)`: performs a search for a given value of an object key nested inside of another object and returns it's parent key
* `function9(findKeyByValue)`: scans object for a value and displays a genre based on whether the given show matches the genre.
* `function10(flatten)`: condenses several arrays into one array
* `function11(head)`: displays first object of array
* `function12(letterPositions)`: determines where a given letter occurs in a string
* `function13(map)`: shows character total value of a given string in an array. will individually print values of each string in array.
* `function14(middle)`: will display undefined if array is 1 or 2 index long. will display middle 1 value if array is odd length. will display 2 center values if array is even length.
* `function15(tail)`: removes first item of array and displays remaining values in a new array
* `function16(takeUntil)`: scans an array until it reaches the given value and displays data until reaching said value.
* `function17(without)`: will return a subset of a given array, removing unwanted elements

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