Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
country-iso-2-to-3
Advanced tools
Convert a country code ISO 3166-1 Alpha-2 to ISO 3166-1 Alpha-3
Convert a country code ISO 3166-1 Alpha-2 to ISO 3166-1 Alpha-3
$ npm install country-iso-2-to-3
const getCountryISO3 = require("country-iso-2-to-3");
getCountryISO3("BR")
// "BRA"
getCountryISO3("US")
// "USA"
Parameter: A string with a country code in ISO 3166-1 Alpha-2
Return: A string with the country code in ISO 3166-1 Alpha-3
MIT © VTEX
FAQs
Convert a country code ISO 3166-1 Alpha-2 to ISO 3166-1 Alpha-3
We found that country-iso-2-to-3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.