# alai

> Parse your AWS AccountID in your AWS Lambda function

Latest version **1.0.3** (published 2017-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install alai
pnpm add alai
yarn add alai
bun add alai
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-07-14 |
| First published | 2017-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sebastian Müller |
| Maintainers | sbstjn |
| Keywords | aws, aws-lambda, lambda |

## Links

- npm: https://www.npmjs.com/package/alai
- Repository: https://github.com/sbstjn/alai
- Issues: https://github.com/sbstjn/alai/issues
- npm.io page: https://npm.io/package/alai

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-07-14
- 1.0.2 — 2017-03-04
- 1.0.1 — 2017-03-04
- 1.0.0 — 2017-03-04

## README

# alai, AWS Lambda Account ID

[![npm](https://img.shields.io/npm/v/alai.svg)](https://www.npmjs.com/package/alai)
[![license](https://img.shields.io/github/license/sbstjn/alai.svg)](https://github.com/sbstjn/alai/blob/master/LICENSE.md)
[![CircleCI](https://img.shields.io/circleci/project/github/sbstjn/alai/master.svg)](https://circleci.com/gh/sbstjn/alai)


Parse your AWS AccountID in your AWS Lambda function.

```js
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](https://github.com/sbstjn/alai/blob/master/LICENSE.md).

## Contributors

- [Sebastian Müller](https://sbstjn.com)

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