Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 719 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 719 Bytes

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.