All Projects → jmlweb → ramdu

jmlweb / ramdu

Licence: MIT license
Small utils set built around Ramda

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ramdu

Rambda
Faster and smaller alternative to Ramda
Stars: ✭ 1,066 (+5822.22%)
Mutual labels:  utils, ramda, fp
Bugz
🐛 Composable User Agent Detection using Ramda
Stars: ✭ 15 (-16.67%)
Mutual labels:  ramda, fp
Ramda Extension
🤘Utility library for functional JavaScript. With ❤️ to Ramda.
Stars: ✭ 139 (+672.22%)
Mutual labels:  utils, ramda
ramda.py
Python clone of Ramda.js
Stars: ✭ 64 (+255.56%)
Mutual labels:  ramda, fp
Ramda Adjunct
Ramda Adjunct is the most popular and most comprehensive set of functional utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
Stars: ✭ 550 (+2955.56%)
Mutual labels:  utils, ramda
utils.js
Fast, small and purely functional utility library
Stars: ✭ 132 (+633.33%)
Mutual labels:  utils, ramda
Promised Pipe
A ramda.pipe-like utility that handles promises internally with zero dependencies
Stars: ✭ 64 (+255.56%)
Mutual labels:  ramda, fp
Utils.js
Fast, small and purely functional utility library
Stars: ✭ 102 (+466.67%)
Mutual labels:  utils, ramda
Rambdax
Extended version of Rambda
Stars: ✭ 148 (+722.22%)
Mutual labels:  utils, ramda
dt-utils
前端常用工具函数
Stars: ✭ 23 (+27.78%)
Mutual labels:  utils
fp-units
An FP-oriented library to easily convert CSS units.
Stars: ✭ 18 (+0%)
Mutual labels:  fp
Just
A library of dependency-free JavaScript functions that do just do one thing.
Stars: ✭ 3,837 (+21216.67%)
Mutual labels:  utils
lancet
A comprehensive, efficient, and reusable util function library of go.
Stars: ✭ 2,228 (+12277.78%)
Mutual labels:  utils
fileutils
Golang file system utils such as copy files and directories
Stars: ✭ 19 (+5.56%)
Mutual labels:  utils
Pandora
潘多拉的魔盒了解一下。
Stars: ✭ 248 (+1277.78%)
Mutual labels:  utils
Fae
A functional module for Deno inspired from Ramda.
Stars: ✭ 44 (+144.44%)
Mutual labels:  ramda
Prosemirror Utils
⚒ Utils library for ProseMirror
Stars: ✭ 241 (+1238.89%)
Mutual labels:  utils
Design-Patterns
Project for learning and discuss about design patterns
Stars: ✭ 16 (-11.11%)
Mutual labels:  fp
Flutter commonapp
打造一款通用的AppUI结构,包括登录、注册等通用 UI 界面及各工具类和公共部分。
Stars: ✭ 227 (+1161.11%)
Mutual labels:  utils
PowerUp
⚡ Decompilation Tools and High Productivity Utilities ⚡
Stars: ✭ 1,526 (+8377.78%)
Mutual labels:  utils

Ramdu

Small utils set built around Ramda

Last Commit Travis npm package Coveralls

Getting started

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

Documentation

Quick start

yarn add ramdu
# or
npm install ramdu

es6

import * as RU from 'ramdu';
import { alwaysArray } from 'ramdu';
import alwaysArray from 'ramdu/alwaysArray';

node

const RU = require('ramdu');

What does include?

String functions

camelCase, Capitalize, deburr, ellipsize…, pascal-case, snake_case, UPPER_SNAKE_CASE, pad, padStart, padEnd, words

Keys transformation functions

renameKeys, evolveKeys, mapKeys

"is" functions

isNot, isNotEmpty, isNotNil, isEven, isOdd, isFalsy, isTruthy, isBetween, isNotBetween, propIsFalsy, propIsTruthy

Indexed functions

mapIndexed, filterIndexed, reduceIndexed

Path as dotted string functions

strAssocPath, strDissocPath, strHasPath, strLensPath, strNotHasPath, strPath, strPathEq, strPathNotEq, strPathNotSatisfies, strPathOr, strPathSatisfies

"defaultTo" functions

defaultToArray, defaultToFalse, defaultToObject, defaultToString, defaultToTrue, defaultToZero

"always" functions

alwaysArray, alwaysObject, alwaysString, alwaysZero

Argument functions

list, whenArgs, withEvolvedArgs

...and much more

Ramdu - Small utils set built around Ramda

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].