# @kong5000/lotide

> Utility functions exercise as part of LighthouseLabs webdev course

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

## Install

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

## Links

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

## Recent versions

- 1.0.0 (latest) — 2020-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 @kong5000/lotide`

**Require it:**

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

**Call it:**

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

## Documentation

The following functions are currently implemented:



*  `head` : returns the first element of an array
*  `tail` : returns an array minus its first item
*  `middle` : returns the middle value of arrays with an odd number of elements, and the middle 2 values of arrays with even numbers of elements
*  `countLetters` : returns the number of letters in a string
*  `countOnly` : count the number of times a value occurs in an array

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