npm.io
1.0.3 • Published 8 years ago

alai

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0

alai, AWS Lambda Account ID

npm license CircleCI

Parse your AWS AccountID in your AWS Lambda function.

module.exports.handler = function(event, context, callback) {
  callback(null,
    {
      accountId: require('alai').parse(context)
    }
  );
};

License

Feel free to use the code, it's released using the MIT license.

Contributors