# @types/aws-regions

> TypeScript definitions for aws-regions

Latest version **2.1.5** (published 2023-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/aws-regions
pnpm add @types/aws-regions
yarn add @types/aws-regions
bun add @types/aws-regions
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.5 |
| Published | 2023-11-20 |
| First published | 2019-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51376 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/aws-regions
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-regions
- npm.io page: https://npm.io/package/@types/aws-regions

## Recent versions

- 2.1.5 (latest) — 2023-11-20
- 2.1.2 (ts3.6) — 2021-07-07
- 2.1.1 (ts3.4) — 2020-09-18
- 2.1.0 (ts2.7) — 2019-07-12
- 2.1.4 — 2023-11-06
- 2.1.3 — 2023-10-17

## README

# Installation
> `npm install --save @types/aws-regions`

# Summary
This package contains type definitions for aws-regions (https://github.com/jsonmaur/aws-regions#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-regions.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-regions/index.d.ts)
````ts
interface AwsRegionInfo {
    name: string;
    full_name: string;
    code: string;
    public: boolean;
    zones: readonly string[];
}

interface ListOptions {
    public?: boolean | undefined;
}

interface LookupOptionsCode {
    code: string;
}

interface LookupOptionsName {
    name: string;
}

type LookupOptions = LookupOptionsCode | LookupOptionsName;

interface AwsRegions {
    list: (options?: ListOptions) => AwsRegionInfo[];
    lookup: (options: LookupOptions) => AwsRegionInfo;
}

declare const awsRegions: AwsRegions;

export = awsRegions;

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:23 GMT
 * Dependencies: none

# Credits
These definitions were written by [Alex Lapa](https://github.com/Deadarius).

---
_Source: https://npm.io/package/@types/aws-regions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
