# @bjam091/lotide

> A mini clone of the [Lodash](https://lodash.com) library.

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

## Install

```sh
npm install @bjam091/lotide
pnpm add @bjam091/lotide
yarn add @bjam091/lotide
bun add @bjam091/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 | 0 |
| Unpacked size | 10 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Brandon Miller |
| Maintainers | bjam091 |

## Links

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

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:


* `assertEqual`: assert that two values are equal and display the result in the console.log
* `assertArraysEqual`: assert two arrays are equal and display the result in the console.log
* `assertObjectsEqual`: assert two objects are equal and display the result in the console.log
* `countLetters`: count the number of letters in a string
* `countOnly`: count the number of objects in an array and return the number of the specified values
* `eqArrays`: checks to see if two arrays are the same
* `eqObjects`: checks to see if two objects are the same
* `findKey`: finds the key of an object
* `findKeyByValue`: finds the key by using the values
* `flatten`: flatten nested arrays down to a signle array
* `head`: brings back the first object in an array
* `letterPositions`: returns the zero-based position in a string when a specific character is found
* `map`: returns a new array based on the results of the callback function
* `middle`: brings back the middle object in an array
* `takeUntil`: will return a slice of the array after it hits a specific value to stop
* `tail`: brings back everything but the first item in an array
* `withouts`: removes items from the first array, based on the specifications of the second array

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