Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
currency_converter_cis
Advanced tools
With the use to this gem , The two major issues will be solved the first one is to find out the various country related details using either the country code or the ip-address and the second one is to convert an amount from one currency to another, There are various scenarios where user has to show user locale related information based up on his/her ip-address So in those cases this gem will be really useful.
INSTALLTION
First thing you need to do is the installation , you can follow the below mentioned steps to install the gem inside your rails application. You need to add sudo if you are not using rvm(ruby version manager)
gem install currency_converter_cis
Add this following line in your Gemfile and then run bundle install.
gem 'currency_converter_cis'
USAGE
Once you have installed this gem you can do the following :-
CurrencyConverterCis.country_by_code("IN")
CurrencyConverterCis.country_by_ip("xx.xx.xx.xx")
CurrencyConverterCis.exchange(1000, 'USD', 'INR')
FAQs
Unknown package
We found that currency_converter_cis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.