# @leeruniek/functies

> Functional library for Javascript

Latest version **0.35.0** (published 2019-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @leeruniek/functies
pnpm add @leeruniek/functies
yarn add @leeruniek/functies
bun add @leeruniek/functies
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.35.0 |
| Published | 2019-11-21 |
| First published | 2018-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrei Dumitrescu |
| Maintainers | igpejic, tomasleeruniek, whois42 |

## Links

- npm: https://www.npmjs.com/package/@leeruniek/functies
- Repository: https://github.com/Leeruniek/functies
- Issues: https://github.com/Leeruniek/functies/issues
- npm.io page: https://npm.io/package/@leeruniek/functies

## Recent versions

- 0.35.0 (latest) — 2019-11-21
- 0.34.4 — 2019-11-20
- 0.34.3 — 2019-11-13
- 0.34.2 — 2019-11-13
- 0.34.1 — 2019-10-21
- 0.34.0 — 2019-05-07
- 0.33.0 — 2019-03-14
- 0.32.0 — 2019-03-08
- 0.31.0 — 2019-03-06
- 0.30.1 — 2019-03-04
- 0.30.0 — 2019-03-04
- 0.29.0 — 2019-03-04
- 0.28.0 — 2019-01-30
- 0.27.0 — 2019-01-29
- 0.26.0 — 2019-01-25
- … 52 more at https://npm.io/package/@leeruniek/functies/versions

## README

# functies [![npm package version](https://badge.fury.io/js/%40leeruniek%2Ffuncties.svg)](https://badge.fury.io/js/%40leeruniek%2Ffuncties) [![Coverage Status](https://coveralls.io/repos/gitlab/leeruniek/functies/badge.svg?branch=master)](https://coveralls.io/gitlab/leeruniek/functies?branch=master)

> Functional library for Javascript 

---

<!-- vim-markdown-toc GFM -->

* [Install](#install)
* [Use](#use)
* [Develop](#develop)
* [Docs](#docs)
* [Changelog](#changelog)
  * [0.34.2 - 13 Nov 2019](#0341---13-nov-2019)
    * [Deprecate](#deprecate)

<!-- vim-markdown-toc -->

## Install

```bash
npm i --save-exact @leeruniek/functies
```

## Use

```js
import { pipe, trim, split, dropLast, push, join } from "@leeruniek/functies"

const removeTrailingSlash = source =>
  source[source.length - 1] === sep ? source.slice(0, -1) : source

const renameFile = newName => pipe(
  removeTrailingSlash,
  split(sep),
  dropLast,
  push(trim(sep)(newName)),
  join(sep)
)
```

## Develop

```bash
git clone git@github.com:leeruniek/functies.git && \
  cd m && \
  npm run setup

# run tests (any `*.test.js`) once
npm test

# watch `src` folder for changes and run test automatically
npm run tdd
```

## Docs

See [documentation](https://leeruniek.github.io/functies/) for the awesomeness that we are.

## Changelog

History of all changes in [CHANGELOG.md](CHANGELOG.md)

### 0.34.2 - 13 Nov 2019

Deprecate several functions which have an equivalent in
[Ramda](https://ramdajs.com/).

The affected functions have the same API and will continue to work for now,
but will emit a debug message suggesting to use the Ramda version. The docs
have also been removed for these functions, to discourage using them in new
code.

#### Deprecate

- `all`, `clone`, `curry`, `deep-equal`, `distinct`, `endsWith`, `fromEntries`,
  `filter`, `find`, `flattenOne`, `flatten`, `flipUncurried`, `forEach`, `get`,
  `gt`, `hasKey`, `head`, `i`, `ifThen`, `last`, `partition`, `pick`,
  `pickKeys`, `pipe`, `pluck`, `prop`, `sort`, `split`, `tail`, `toLower`,
  `type`, `zip`, `zipWith`

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