# @andyku25/lotide

> lotide is a clone of the Lodash library and is used for learning purposes as part of the Lighthouse Labs Bootcamp

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

## Install

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

## Links

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

## Dependencies (1)

- [my-package](https://npm.io/package/my-package.md) ^0.0.0

## 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.1 (latest) — 2021-02-09
- 1.0.0 — 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.**

This project was created and published by me as part of my learnings at Lighthouse Labs. 

## Usage

**Install it:**

`npm install @andyku25/lotide`

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `head(arr)`: returns first element of an array
* `tail(arr)`: returns all elements following the frst element in an array 
* `middle(array)`: returns the middle/middle 2 elements in an array
* `countLetters(str)`: returns a key-value pair of each letter in the param and the count value of that key
* `countOnly(arr, obj)`: returns a key-value pair of each object key to search in the arr param and the count value of that obj key
* `findKey(obj, cb)`: returns the key of the object param given the cb condition
* `findKeyByValue(obj, str)`: returns the key of the object param given a specific value
* `letterPositions(str)`: returns the key-value pair of each index position of each input value
* `map(arr, cb)`: returns a modified array based off of the cb conditionals
* `takeUntil(arr, cb)`: returns an array of up until a conditional returns a false statement
* `without(arr, itemToRemoveArr)`: returns the arr less the 2nd param of items to remove

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