# route53-zone-file-exporter

> Export AWS Route53 hosted zone data as a zone file

Latest version **0.1.1** (published 2019-09-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install route53-zone-file-exporter
pnpm add route53-zone-file-exporter
yarn add route53-zone-file-exporter
bun add route53-zone-file-exporter
```

Provides the command `route53-zone-file-exporter`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-09-20 |
| First published | 2019-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jeremiah Harlan |
| Maintainers | harlanj |
| Keywords | aws, zone, file, zonefile, route53, export, exporter, hosted |

## Links

- npm: https://www.npmjs.com/package/route53-zone-file-exporter
- npm.io page: https://npm.io/package/route53-zone-file-exporter

## Dependencies (3)

- [aws-sdk](https://npm.io/package/aws-sdk.md) 2.503.0
- [commander](https://npm.io/package/commander.md) 3.0.1
- [zone-file](https://npm.io/package/zone-file.md) 1.0.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-09-20
- 0.1.0 (beta) — 2019-09-20

## README

# route53-zone-file-exporter

[![version](https://img.shields.io/npm/v/route53-zone-file-exporter.svg?style=flat-square)][version]
[![build](https://img.shields.io/travis/theworkflow/route53-zone-file-exporter/master.svg?style=flat-square)][build]
[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license]

Export Route53 hosted zone record sets into a zone file

## Install

`$ npm install -g route53-zone-file-exporter`

### CLI Usage

```
Usage: route53-zone-file-exporter [options]

Options:
  -V, --version                        output the version number
  -z, --zoneId <hosted-zone-id>        Route53 hosted zone ID
  --hostedZoneId <hosted-zone-id>      Route53 hosted zone ID (same as -z flag)
  -o --output <path>                   Output path to store zone file
  --accessKeyId <accessKeyId>          AWS accessKeyId
  --secretAccessKey <secretAccessKey>  AWS secretAccessKey
  -h, --help                           output usage information
```

### API Usage

```javascript
const exporter = require('route53-zone-file-exporter')

const options = {
  zoneId: 'AWSRoute53ZoneID',
  ttl: 3600,
  output: './exportedZoneFile'
}
// For full configuration options for aws config
// https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Route53.html#constructor-property
const awsConfig = {}

exporter(options, awsConfig)
  .then(zoneFile => console.log(zoneFile))
  .catch(err => console.error(err))
```

## Contributing

Contributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.

## License

[MIT](LICENSE)

[version]: https://www.npmjs.com/package/route53-zone-file-exporter
[build]: https://travis-ci.org/theworkflow/route53-zone-file-exporter
[license]: https://raw.githubusercontent.com/theworkflow/route53-zone-file-exporter/master/LICENSE

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