# @mohammedmahdi/lotide

> lotide library for learning purposes

Latest version **1.0.1** (published 2022-04-18) · ISC license · 0 weekly downloads

## Install

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

## Links

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

## Recent versions

- 1.0.1 (latest) — 2022-04-18
- 1.0.0 — 2022-04-18

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `head`: retrun the first element in array
* `tail`: return an array without the first element
* `middle`: return the middle element in an array
* `map`: map function
* `letterPositions`: return the positions of element in an object
* `flatten`: flatten function
* `findKeyByValue`: findKeyByValue function
* `findKey`: findKey function

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