# @jnasato/lotide

> A mini clone of the [Lodash](https://lodash.com) library created and published by me as part of my learnings at Lighthouse Labs.

Latest version **1.0.1** (published 2020-04-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jnasato/lotide
pnpm add @jnasato/lotide
yarn add @jnasato/lotide
bun add @jnasato/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 | 2020-04-06 |
| First published | 2020-04-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jeremy Nasato |
| Maintainers | jnasato |
| Keywords | "lotide", "mocha", "chai", "fun" |

## Links

- npm: https://www.npmjs.com/package/@jnasato/lotide
- Repository: https://github.com/JNasato/lotide
- Homepage: https://github.com/JNasato/lotide#readme
- Issues: https://github.com/JNasato/lotide/issues
- npm.io page: https://npm.io/package/@jnasato/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.1 (latest) — 2020-04-06
- 1.0.0 — 2020-04-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 @jnasato/lotide`

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `countLetters(...)`: returns a count of each letter in a given strings
* `countOnly`: returns a specific subset of items from a collection 
* `findKey(...)`: returns first key for which a callback returns a truthy value
* `findKeyByValue(...)`: returns the first key in an object with a given value
* `flatten(...)`: flattens nested arrays into one combined array
* `head(...)`: retrieves first element in array
* `letterPositions(...)`: returns all the index positions of letters in a string
* `map(...)`: returns a new array based on the results of a callback function
* `middle(...)`: returns the middle-most element(s) of an array
* `tail(...)`: retrieves every element of an array excluding the head
* `takeUntil(...)`: keeps collecting items from a given array until a callback returns a truthy value
* `without(...)`: returns subset of given array, removing unwanted elements

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