🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

ec2-meta

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ec2-meta

Retrieving Instance Metadata

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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.

Keywords

aws

FAQs

Package last updated on 09 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts