ec2-meta

0.1.1 • Public • Published

ec2-meta

version download

Retrieving Instance Metadata.

Warning: normal operation only ec2.

Usage

var ec2meta = require('ec2-meta');
 
// load meta categories
ec2meta.load(function(err, categories) {
    // console.log(categories);
});
 
// load instance-id
ec2meta.load('instance-id', function(err, value) {
    // console.log(value);
});

References

LICENSE

ec2-meta is licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i ec2-meta

Weekly Downloads

4

Version

0.1.1

License

MIT

Last publish

Collaborators

  • egg-