Ramdu has some goals:
- To be lightweight
- To use only pure functions with a general purpose
- To export currified versions of all functions
- To look like original Ramda as much as possible
yarn add ramdu
# or
npm install ramdu
import * as RU from 'ramdu';
import { alwaysArray } from 'ramdu';
import alwaysArray from 'ramdu/alwaysArray';
const RU = require('ramdu');
camelCase, Capitalize, deburr, ellipsizeā¦, pascal-case, snake_case, UPPER_SNAKE_CASE, pad, padStart, padEnd, words
renameKeys, evolveKeys, mapKeys
isNot, isNotEmpty, isNotNil, isEven, isOdd, isFalsy, isTruthy, isBetween, isNotBetween, propIsFalsy, propIsTruthy
mapIndexed, filterIndexed, reduceIndexed
strAssocPath, strDissocPath, strHasPath, strLensPath, strNotHasPath, strPath, strPathEq, strPathNotEq, strPathNotSatisfies, strPathOr, strPathSatisfies
defaultToArray, defaultToFalse, defaultToObject, defaultToString, defaultToTrue, defaultToZero
alwaysArray, alwaysObject, alwaysString, alwaysZero
list, whenArgs, withEvolvedArgs
Ramdu - Small utils set built around Ramda