# @nicholask/lotide

> LHL lotide library, for multiple functions helpful with objects and arrays, for educational purposes

Latest version **1.0.0** (published 2020-08-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @nicholask/lotide
pnpm add @nicholask/lotide
yarn add @nicholask/lotide
bun add @nicholask/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-08-30 |
| First published | 2020-08-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nicholas Kotsos |
| Maintainers | nicholask |
| Keywords | lodash, lotide, lighthouse, labs |

## Links

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

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-08-30

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

**Require it:**

`const _ = require('nicholask/lotide');`

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `function1(...)`: description
* `function2(...)`: description
* `function3(...)`: eats ass
* `head(...)`: returns first item in array
* `tail(...)`: returns everything but first item in array
* `middle(...)`: returns middle value of array
* `assertArraysEqual(...)`: returns statement between two arrays determineing if equal
* `assertEqual(...)`:
* `assertObjectsEqual(...)`: returns if two objects are exactly equal
* `countLetters(...)`: returns count of letter in a string
* `countOnly(...)`: returns count with callback
* `eqArrays(...)`: returns if arrays have equal length
* `eqObjects(...)`: returns if objects are equal length and number of keys
* `findKeyByValue(...)`: returns key by its value
* `letterPositions(...)`: reurns position of letters
* `map(...)`: receives an array and modifies each item by callback
* `takeUntil(...)`: executes call back on function until 
* `without(...)`: returns array sans a specific obejct

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