This package has been deprecated

Author message:

This package is no longer maintained.

rho-cc-aws-region

2.0.0 • Public • Published

rho-cc-aws-region

Check AWS region identifiers with rho-contracts.

Usage

You must use the Body Labs package, rho-contracts-fork:

  "dependencies": {
    "rho-contracts-fork": "^1.3.0"
  }
const awsRegion = require('rho-cc-aws-region');

// Does not throw.
awsRegion.check('us-east-1');

// Throws.
awsRegion.check('useast1');

// False negative: does not throw, but not a real region.
awsRegion.check('us-madeup-8675309');

Installation

npm install rho-contracts-fork rho-cc-aws-region

Contribute

Pull requests welcome!

Support

If you are having issues, please let us know.

License

The project is licensed under the Mozilla Public License Version 2.0.

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i rho-cc-aws-region

    Weekly Downloads

    4

    Version

    2.0.0

    License

    MPL-2.0

    Last publish

    Collaborators

    • paulmelnikow