ramda-addons

⚠️ **This package requires that you already have [Ramda.js](https://github.com/ramda/ramda) installed as a dependency!**

Usage no npm install needed!

<script type="module">
  import ramdaAddons from 'https://cdn.skypack.dev/ramda-addons';
</script>

README

Ramda Addons

Version Documentation Maintenance License: MIT

This package provides an extra set of common utility functions when using Ramda.js

🏠 npm

⚠️ This package requires that you already have Ramda.js installed as a dependency!

Install

yarn install

Usage

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

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Andrea Pontrandolfo.
This project is MIT licensed.


Acknowledgements