Socket
Socket
Sign inDemoInstall

@types/aws-regions

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/aws-regions

TypeScript definitions for aws-regions


Version published
Weekly downloads
379
decreased by-34.77%
Maintainers
1
Install size
3.58 kB
Created
Weekly downloads
 

Readme

Source

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

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.

FAQs

Last updated on 20 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc