0.35.0 • Published 4 years ago

@leeruniek/functies v0.35.0

Weekly downloads
35
License
MIT
Repository
github
Last release
4 years ago

functies npm package version Coverage Status

Functional library for Javascript


Install

npm i --save-exact @leeruniek/functies

Use

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

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 for the awesomeness that we are.

Changelog

History of all changes in CHANGELOG.md

0.34.2 - 13 Nov 2019

Deprecate several functions which have an equivalent in Ramda.

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
0.35.0

4 years ago

0.34.4

4 years ago

0.34.3

5 years ago

0.34.2

5 years ago

0.34.1

5 years ago

0.34.0

5 years ago

0.33.0

5 years ago

0.32.0

5 years ago

0.31.0

5 years ago

0.30.1

5 years ago

0.30.0

5 years ago

0.29.0

5 years ago

0.28.0

5 years ago

0.27.0

5 years ago

0.26.0

5 years ago

0.25.0

5 years ago

0.24.0

5 years ago

0.23.2

5 years ago

0.23.1

5 years ago

0.23.0

5 years ago

0.22.1

5 years ago

0.22.0

5 years ago

0.21.1

5 years ago

0.21.0

5 years ago

0.19.4

5 years ago

0.19.3

5 years ago

0.19.2

5 years ago

0.19.1

5 years ago

0.19.0

5 years ago

0.18.1

6 years ago

0.18.0

6 years ago

0.17.0

6 years ago

0.16.0

6 years ago

0.15.0

6 years ago

0.14.0

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.9

6 years ago

0.4.8

6 years ago

0.4.7

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.2

6 years ago

0.4.0

6 years ago

0.3.12

6 years ago

0.3.11

6 years ago

0.3.10

6 years ago

0.3.9

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago