@types/iso-3166-1-alpha-2
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/iso-3166-1-alpha-2

Summary

This package contains type definitions for iso-3166-1-alpha-2 (https://github.com/georgzoeller/iso-3166-1-alpha-2).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iso-3166-1-alpha-2.

index.d.ts

export function getCountry(code: string): string | undefined;
export function getCode(country: string): string | null;
export function getCountries(): string[];
export function getCodes(): string[];
export function getData(): { [code: string]: string | undefined };

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Justus Dietrich.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/iso-3166-1-alpha-2

Weekly Downloads

5,857

Version

1.0.2

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types