# @lord-proton/lotide

> javascript library project

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

## Install

```sh
npm install @lord-proton/lotide
pnpm add @lord-proton/lotide
yarn add @lord-proton/lotide
bun add @lord-proton/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-29 |
| First published | 2020-06-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Graham Tyler |
| Maintainers | lord-proton |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.0 (latest) — 2020-06-29

## README

# lotide
javascript library project
# 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 @lord-proton/lotide`

**Require it:**

`const _ = require('@lord-proton/lotide');`

**Call it:**

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

## Documentation

The following functions are currently implemented:

* `function head`: returns index[0] element fm array
* `function tail`: returns array with index[0] element removed
* `function middle` : returns midde element(s) from array
* `function assertArraysEqual`: returns t/f for arr 1 === arr 2
* `function countLetters` : counts all letters in a string
* `function countOnly`: counts specified items in array as directed
* `function eqArrays`: determines if 2 arrays have same content
* `function eqObjects`: determines if 2 objects have same key:value pairs
* `function findKey`: returns the keys contained in an object
* `function findKeyByValue`: returns the keys by using values in object
* `function letterPositions`: returns object giving index positions of each letter
* `function takeUntil`: func pulls data from array until callback cond is met
* `function without`: func removes array elements based on callback condition

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