# @samy0412/lotide

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

Latest version **1.0.0** (published 2020-06-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install @samy0412/lotide
pnpm add @samy0412/lotide
yarn add @samy0412/lotide
bun add @samy0412/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 | 2020-06-01 |
| First published | 2020-06-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Samantha Gadet |
| Maintainers | samy0412 |

## Links

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

## Dependencies (2)

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

## Recent versions

- 1.0.0 (latest) — 2020-06-01

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

**Require it:**

`const _ = require('samy0412/lotide');`

**Call it:**

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

## Documentation

The following functions are currently implemented:

- `head` : returns first element of an array.
- `tail`: returns all elements of the array except the first element.
- `middle`: returns the middle elements of an array.
- `countLetters`: returns an object with the number of occurences of a letter in a string.
- `letterPositions`:returns an object with all the letter of a string as keys with their indexes stores in a array.
- `countOnly`:returns the number of occurences of a value in an array.
- `takeUntil`:
- `without`:
- `map`:
- `findKey`:
- `findKeyByValue`:
- `assertEqual`:
- `eqArrays`:
- `assertArraysEqual`:
- `eqObjects`:
- `assertObjectsEqual`:

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