# @nicohsfu/lotide

> A packaged, custom version of lodash

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

## Install

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

## Links

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

## Recent versions

- 1.0.0 (latest) — 2022-09-27

## 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 @nicohsfu/lotide`

**Require it:**

`const _ = require('@nicohsfu/lotide');`

**Call it:**

`const results = _.tail([1, 2, 3]) // => [2, 3]`

## Documentation

The following functions are currently implemented:

* `head(...)`: identifies the first element in an array
* `tail(...)`: identifies all the elements except the first element in an array
* `middle(...)`: identifies the middle element/s of an array
* `assertArraysEqual(...)`: evaluates whether strings are identical
* `assertEqual(...)`: evaluates whether strings are identical
* `assertObjectsEqual(...)`: evaluates whether objects are identical
* `countLetters(...)`: counts the number of times letters are used in a string
* `countOnly(...)`: counts the number of times a string appears in an array
* `eqArrays(...)`: evaluates whether arrays are identical
* `eqObjects(...)`: evaluates whether objects are identical
* `findKey(...)`: identifies a key when provided an object of that particular key
* `findKeyByValue(...)`:  identifies a key when provided a particular paired value
* `letterPositions(...)`: identifies the letter/s used in a string and what their index position/s is/are
* `map(...)`: identifies the first letters of each word provided
* `takeUntil(...)`: identifies elements of an array up until a provided "stopping point", at which point the function will stop identifying further elements
* `without(...)`: filters out element/s from an array based on provided keyword/s

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