@capaj/ec2-metadata
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

ec2-metadata

utility for fetching ec2 instance metadata synchronously/asynchronously lightweight alternative to ec2-metadata

import { getMetadataSync, getMetadata } from '@capaj/ec2-metadata'

getMetadataSync('instance-id') // === your ec2 instance id

await getMetadata('instance-id') // === your ec2 instance id

Readme

Keywords

Package Sidebar

Install

npm i @capaj/ec2-metadata

Weekly Downloads

2

Version

0.9.0

License

MIT

Unpacked Size

6.47 kB

Total Files

10

Last publish

Collaborators

  • capaj