Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brixtol/country-names

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brixtol/country-names

Mappings for 2 letter (Alpha 2) country codes to English country name

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
increased by34.69%
Maintainers
1
Weekly downloads
 
Created
Source

@brixtol/country-names

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

Install

pnpm

pnpm i @brixtol/country-names
Boomer / Sheep Alternatives

npm

npm install @brixtol/country-names

Yarn

yarn add @brixtol/country-names

Usage

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");

// ....

License

Licensed under MIT


We open source!

Keywords

FAQs

Package last updated on 17 Aug 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc