# @awill1004/aws-schema-graphql

> AWS schema download CLI to download GraphQL schema from AWS lambda when GraphQL server is via API Gateway and has an authorizer.

Latest version **1.1.0** (published 2021-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @awill1004/aws-schema-graphql
pnpm add @awill1004/aws-schema-graphql
yarn add @awill1004/aws-schema-graphql
bun add @awill1004/aws-schema-graphql
```

Provides the command `aws-schema-graphql`.

## 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.1.0 |
| Published | 2021-03-24 |
| First published | 2019-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Alan Williams |
| Maintainers | awill1004 |
| Keywords | aws, schema, graphql |

## Links

- npm: https://www.npmjs.com/package/@awill1004/aws-schema-graphql
- Homepage: https://github.com/amwill04/aws-schema-download
- Issues: https://github.com/amwill04/aws-schema-download/issues
- npm.io page: https://npm.io/package/@awill1004/aws-schema-graphql

## Dependencies (5)

- [aws4](https://npm.io/package/aws4.md) ^1.8.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.467.0
- [graphql](https://npm.io/package/graphql.md) ^14.3.1
- [commander](https://npm.io/package/commander.md) ^2.20.0

## 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.1.0 (latest) — 2021-03-24
- 1.0.4 — 2019-06-28
- 1.0.3 — 2019-06-06
- 1.0.2 — 2019-06-06
- 1.0.1 — 2019-06-06

## README

# AWS Lambda Graphql Schema Download

AWS schema download CLI to download GraphQL schema from AWS lambda when GraphQL server is via API Gateway and has an authorizer.

# Usage

```sh-session
$ npm install -g  @awill1004/aws-schema-graphql
$ aws-schema-graphql --function-name labmda-name
```

### Arguments

```
Usage: aws-schema-download [options]

Download graphql schema from lambda

Options:
  -V, --version                   output the version number
  --function-name <functionName>  The name of the Lambda function, version, or alias
  --profile <profile>             AWS profile to use [default] (default: "default")
  --region <region>               AWS lambda region, [us-east-1] (default: "us-east-1")
  --output <output>               Output schema file. [schema.json] (default: "schema.json")
  -h, --help                      output usage information
```


#### TODO

Work in progress
* Export module to use in scripts
* Add API Gateway support with signed AWS signature

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