All Projects → tommmyy → Ramda Extension

tommmyy / Ramda Extension

Licence: apache-2.0
🤘Utility library for functional JavaScript. With ❤️ to Ramda.

Projects that are alternatives of or similar to Ramda Extension

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 (+295.68%)
Mutual labels:  utilities, utils, extensions, ramda, functional-programming
Rambdax
Extended version of Rambda
Stars: ✭ 148 (+6.47%)
Mutual labels:  utils, ramda, functional-programming
Rambda
Faster and smaller alternative to Ramda
Stars: ✭ 1,066 (+666.91%)
Mutual labels:  utils, ramda, functional-programming
Torchfunc
PyTorch functions and utilities to make your life easier
Stars: ✭ 177 (+27.34%)
Mutual labels:  utilities, utils, extensions
Soflow
A ScriptableObject oriented design SDK.
Stars: ✭ 43 (-69.06%)
Mutual labels:  extensions, tools
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-77.7%)
Mutual labels:  extensions, functional-programming
Sassyfication
💅Library with sass mixins to speed up your css workflow.
Stars: ✭ 51 (-63.31%)
Mutual labels:  utilities, utils
Utils
🛠 Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Stars: ✭ 1,158 (+733.09%)
Mutual labels:  utilities, tools
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (+284.17%)
Mutual labels:  utilities, utils
Utils
Docker image with tools like curl, wget, ping, nslookup, dig, psql etc.
Stars: ✭ 49 (-64.75%)
Mutual labels:  utilities, tools
Ramtuary
Ramda + Ramda Fantasy + Sanctuary REPL 🌿
Stars: ✭ 72 (-48.2%)
Mutual labels:  ramda, functional-programming
Bugz
🐛 Composable User Agent Detection using Ramda
Stars: ✭ 15 (-89.21%)
Mutual labels:  ramda, functional-programming
Utils
A collection of useful PHP functions, mini classes and snippets that you need and can use every day.
Stars: ✭ 750 (+439.57%)
Mutual labels:  utilities, utils
Inferno Most Fp Demo
A demo for the ReactJS Tampa Bay meetup showing how to build a React+Redux-like architecture from scratch using Inferno, Most.js, reactive programmning, and various functional programming tools & techniques
Stars: ✭ 45 (-67.63%)
Mutual labels:  ramda, functional-programming
Imlazy
😴 Functional programming with lazy immutable iterables
Stars: ✭ 89 (-35.97%)
Mutual labels:  ramda, functional-programming
Dash
Functional programming library for PHP. Inspired by Underscore, Lodash, and Ramda.
Stars: ✭ 84 (-39.57%)
Mutual labels:  ramda, functional-programming
Utils.js
Fast, small and purely functional utility library
Stars: ✭ 102 (-26.62%)
Mutual labels:  utils, ramda
Utils.js
Useful JavaScript Functions Collection 一些很实用的JavaScript函数封装集合
Stars: ✭ 121 (-12.95%)
Mutual labels:  utils, tools
Bottomline
A full-on PHP manipulation utility-belt that provides support for the usual functional. 📦
Stars: ✭ 462 (+232.37%)
Mutual labels:  utilities, tools
Performance Analysis Js
Map/Reduce/Filter/Find Vs For loop Vs For each Vs Lodash vs Ramda
Stars: ✭ 532 (+282.73%)
Mutual labels:  ramda, functional-programming

Ramda!

Ramda extension

🤘🤘🤘

Utility library for functional JavaScript.

Library adds utilities functions that are built on the top of marvelous Ramda library.

Play wit Ramda and Ramda-extension in REPL.

See our documentation site.

Github Apache-2.0 Travis Downloads Version

import { cx } from 'ramda-extension';

cx({ box: true, 'box--outline': false }, 'width-100'); // ".box .width-100"

Why to choose ramda-extension over other libraries?

We focus on functional point-free code. Our goal is to keep codebase composed only from ramda functions, not from own code. Basically, we are using only const and ES6 modules from the JavaScript itself.

We have a few functions with side-effects (like log and trace) to support better developer's experience in debugging process. It is only for development purpose and it should not be used in production code.

Installation

$ yarn add ramda ramda-extension

or

$ npm install ramda ramda-extension

Usage

We support CommonJS and ES modules syntax.

Import function as a named export (not recommended without treeshaking):

import { toKebabCase } from 'ramda-extension';
import { flatten } from 'ramda'; // standard ramda function (if needed)

toKebabCase('I wanna eat my kebab.') // "i-wanna-eat-my-kebab"
flatten([1, 2, [3, 4], 5]) // [1, 2, 3, 4, 5]
  • NOTE: standard ramda functions are still accessed via 'ramda'

Alternatively you can import it separately if your environment doesn't support treeshaking (Sse babel-plugin-transform-imports):

import toKebabCase from 'ramda-extension/lib/toKebabCase';

toKebabCase('I wanna eat my kebab.') // "i-wanna-eat-my-kebab"

If you prefer jQuery-style:

import * as R_ from 'ramda-extension'

R_.toKebabCase('I wanna eat my kebab.') // "i-wanna-eat-my-kebab"

NOTE: Ramda itself is not part of bundle, you need to add it manually

CDN

You can use Ramda-extension directly in the browser:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ramda.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ramda-extension.min.js"></script>

Articles & Resources

Contributing

Most of the functions have its own tests and examples in the JS Doc.

Feel free to either contribute yourself or submit an issue if there is a bug or you have an idea for a new extension.

We are open to all ideas and suggestions, feel free to open an issue or a pull request!

See the contribution guide for guidelines.

License

All packages are distributed under the Apache 2.0 license. See the license here.

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].