ec2-meta
v0.1.1
Published
Retrieving Instance Metadata
Downloads
4
Readme
ec2-meta
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.