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

countries-list

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

countries-list

Continents & countries: ISO 3166-1 alpha-2 code, name, ISO 639-1 languages, capital, currency, native name, phone. JSON, CSV and SQL.

  • 3.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
209K
decreased by-0.83%
Maintainers
1
Weekly downloads
 
Created

What is countries-list?

The countries-list npm package provides a comprehensive list of countries, their codes, and other related information. It is useful for applications that need to display or process country-related data.

What are countries-list's main functionalities?

Get list of all countries

This feature allows you to retrieve a list of all countries along with their details such as name, native name, phone code, continent, capital, currency, and languages.

const { countries } = require('countries-list');
console.log(countries);

Get list of all continents

This feature allows you to retrieve a list of all continents and their corresponding codes.

const { continents } = require('countries-list');
console.log(continents);

Get list of all languages

This feature allows you to retrieve a list of all languages and their corresponding codes.

const { languages } = require('countries-list');
console.log(languages);

Get list of all currencies

This feature allows you to retrieve a list of all currencies and their corresponding codes.

const { currencies } = require('countries-list');
console.log(currencies);

Other packages similar to countries-list

Keywords

FAQs

Package last updated on 31 Jul 2024

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