Socket
Book a DemoInstallSign in
Socket

ramda-addons

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ramda-addons

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

latest
npmnpm
Version
2.3.0
Version published
Maintainers
1
Created
Source

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

Keywords

javascript

FAQs

Package last updated on 22 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts