https://github.com/andreapontrandolfo/ramda-addons
This package provides an extra set of common utility functions when using Ramda.js
https://github.com/andreapontrandolfo/ramda-addons
javascript jest ramda typescript
Last synced: about 2 months ago
JSON representation
This package provides an extra set of common utility functions when using Ramda.js
- Host: GitHub
- URL: https://github.com/andreapontrandolfo/ramda-addons
- Owner: AndreaPontrandolfo
- License: mit
- Created: 2020-09-10T22:38:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T15:25:50.000Z (almost 5 years ago)
- Last Synced: 2025-10-06T03:37:03.667Z (9 months ago)
- Topics: javascript, jest, ramda, typescript
- Language: TypeScript
- Homepage:
- Size: 133 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ramda Addons
> This package provides an extra set of common utility functions when using Ramda.js
### 🏠 [npm](https://www.npmjs.com/package/ramda-addons)
⚠️ **This package requires that you already have [Ramda.js](https://github.com/ramda/ramda) installed as a dependency!**
## Install
```sh
yarn install
```
## Usage
```sh
yarn start
```
## Available functions
- `getMatches(sourceData: string[], searchedValue: string)` return all found matches in the list
- `getTotalOfValues(object)` return the total amount of values in a object, including the values nested in arrays
- `hasData(element: any)` check if the object exist and contains some values
- `normalizeString(string)` lower a given string and remove whitespaces
## Author
👤 **Andrea Pontrandolfo**
* Github: [@AndreaPontrandolfo](https://github.com/AndreaPontrandolfo)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/AndreaPontrandolfo/ramda-addons/issues). You can also take a look at the [contributing guide](https://github.com/AndreaPontrandolfo/ramda-addons/blob/master/CONTRIBUTING.md).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Andrea Pontrandolfo](https://github.com/AndreaPontrandolfo).
This project is [MIT](https://github.com/AndreaPontrandolfo/ramda-addons/blob/master/LICENSE) licensed.
***
## Acknowledgements
- project boostrapped with [tsdx](https://github.com/formium/tsdx)
- published on npm with [np](https://github.com/sindresorhus/np)
- readme generated with [readme-md-generator](https://github.com/kefranabg/readme-md-generator)