Skip to content

AndreaPontrandolfo/ramda-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published