Check if a string is an AWS Account ID
Install
$ npm install --save is-aws-account-id
Usage
const isAwsAccountId = require('is-aws-account-id');
isAwsAccountId('123456789012');
//=> true
isAwsAccountId('abc123456789');
//=> false
Check if a string is an AWS Account ID
$ npm install --save is-aws-account-id
const isAwsAccountId = require('is-aws-account-id');
isAwsAccountId('123456789012');
//=> true
isAwsAccountId('abc123456789');
//=> false
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.