Socket
Book a DemoInstallSign in
Socket

get-state-by-country-name

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-state-by-country-name

Get all countries state name by country name

1.0.2
latest
npmnpm
Version published
Maintainers
0
Created
Source

Get State By Country

A lightweight utility for fetching state or region names by country. This package provides a simple way to access country-related data, including state or region information, making it useful for applications that require geographical data or user location handling.

Features

  • Fetch state or region names for a given country.
  • Easy-to-use API for quick integration.
  • Supports various country data formats and consistent data handling.
  • Lightweight and optimized for performance.

Installation

Install the package via npm:

npm install get-state-by-country

Get all state by country name


// get all countries

import { getStatesByCountryName } from "get-state-by-country";

const states = getStatesByCountryName();
console.log(countryNames);
// Output: []

Keywords

state

FAQs

Package last updated on 23 Oct 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.