# @polinaskrobot/lotide

> mini version of Lodash, set of functions

Latest version **1.0.0** (published 2021-08-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install @polinaskrobot/lotide
pnpm add @polinaskrobot/lotide
yarn add @polinaskrobot/lotide
bun add @polinaskrobot/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 | 2021-08-24 |
| First published | 2021-08-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Polina Skrobot |
| Maintainers | polinaskrobot |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2021-08-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 @polinaskrobot/lotide`

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `tail(...)`: return values of array exept the first one
* `head(...)`: returns first value of array
* `middle(...)`: returns middle of array
* `countLetters`: count specific letter in the string
* `findKey`: find key with specific condition in value
* `findKeyByValue`: find key by specific value
* `flatten`: unpack nested arrays value within array
* `letterPosition`: provide positions of letter as arrayIndex in the string
* `countOnly`: count only approved values in array
* `eqObjects`: compare two objects
* `eqArrays`: compare two arrays

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