ramda-extension icon indicating copy to clipboard operation
ramda-extension copied to clipboard

🤘Utility library for functional JavaScript. With ❤️ to Ramda.

Results 34 ramda-extension issues
Sort by recently updated
recently updated
newest added

**Describe the bug** When running in a clean environment (such as a docker container such as a node docker container https://hub.docker.com/_/node). internal/modules/cjs/loader.js:883 throw err; ^ Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault'...

high priority

**Describe the bug** isNilOrEmpty returning `true` for empty string (`""`) **To Reproduce** https://ramda-extension.firebaseapp.com/repl/#?R_.isNilOrEmpty%28%22%22%29%3B%20%2F%2F%20true%0A **Expected behavior** isNilOrEmpty should return false for empty string. Though perhaps I am making a bad assumption?...

The regex that was previously used to convert strings to snake_case did not account for camelCase or StartCamelCase strings, so it simply downcased the entire string and returned that. This...

Adding using normalize function of string solution found on: https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript

When there is a character with diacritics it should be converted to the base character It is necessary when using different languages ```javascript > R_.toKebabCase('Adiós amigo Español') "adios-amigo-espanol" > R_.toKebabCase('Tschüss...

**Describe the solution you'd like** Would be nice if toKebabCase fn would work also for camel case and pascal case strings R_.toKebabCase("helloWorld"); -> returns hello-world R_.toKebabCase("HelloWorld"); -> returns hello-world

```js const firstPath = useWith(uncurryN(2, R_.dispatch), [map(path), identity]); const a = { key: "mr. Foo Bar", dataKey: "cool", } firstPath([["key"], ["dataKey"]])(a); // "mr. Foo Bar" ``` I am not sure...

discussion
new function

Let us write a simple generator of predicate functions that are focused around values such as `null`, `true`, `0`... E.g.: - alwaysNull, alwaysZero, ... - defaultToNull, ...

enhancement