# @roshan0926/lotide

> A clone of the lodash JavaScript library for practicing coding of various functions using Javascript

Latest version **1.0.0** (published 2021-04-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install @roshan0926/lotide
pnpm add @roshan0926/lotide
yarn add @roshan0926/lotide
bun add @roshan0926/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-04-05 |
| First published | 2021-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Roshan Nasseri |
| Maintainers | roshan0926 |

## Links

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

## Dependencies (1)

- [util](https://npm.io/package/util.md) ^0.12.3

## Recent versions

- 1.0.0 (latest) — 2021-04-05

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

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `head`: function that returns the first element of an array
* `tail`: function that returns all the elements excliding the last of an array
* `middle`: function that returns the middle value of an array (middle 2 if array has an even number of elements)
* `countLetters`: function that returns the count of the letters in a string
* `countOnly`: function that counts only the perscribed letters
* `eqArrays`: function that compares two arrays
* `eqObjects`: function that compares two objects
* `findKeyByValue`: function that returns a value based on the key it is asigned to search for 
* `findKey`: function that returns the key values of an object 
* `flatten`: function that returns a single array for nested arrays
* `letterPositions`: function that returns the index of a letter asinged from within a string
* `map`: function that creates an array with the results of a seperate array through a calling
* `without`: function that removes perscribed elements from an array 
* `takeUntil`: function that returns the inputted array until the designated index

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