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.
@brixtol/country-names
Advanced tools
Mappings for 2 letter (Alpha 2) country codes to English country name
Country code (3166-1 alpha-2) to Country name (ISO 3166 mappings used by the Brixtol Textiles internal API when dealing with Localization and i18n operations.
Mappings returned in the English Language.
Minified: 2.23 KB
Gzipped: 1.08 KB
pnpm i @brixtol/country-names
npm install @brixtol/country-names
yarn add @brixtol/country-names
You can pass in a country code that is lowercase, uppercase or a mixture of both.
import country from "@brixtol/country-names";
// Country code SE (Sweden)
const sweden = country("SE");
// Country code NL (Netherlands)
const netherlands = country("nl");
// ....
Licensed under MIT
We ♡ open source!
1.0.0 - 22/08/2021
Dropped support of default exports. This module uses named exports. The module typings now export an identical interface of countries.
import { getCountryName } from '@brixtol/country-names';
const country = getCountryName('SE'); // Sweden
ICountries
FAQs
Mappings for 2 letter (Alpha 2) country codes to English country name
The npm package @brixtol/country-names receives a total of 1,292 weekly downloads. As such, @brixtol/country-names popularity was classified as popular.
We found that @brixtol/country-names 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.