{"_id":"is-ec2","_rev":"7-e4acb225e262916e44a5055bef67bf26","name":"is-ec2","description":"Test if the current node process is running on AWS EC2","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"is-ec2","version":"1.0.0","description":"Test if the current node process is running on AWS EC2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dvonlehman/is-ec2.git"},"keywords":["aws","ec2"],"author":{"name":"David Von Lehman"},"license":"ISC","gitHead":"077e929008dd358c8e8743418c3e430c33fd5f28","bugs":{"url":"https://github.com/dvonlehman/is-ec2/issues"},"homepage":"https://github.com/dvonlehman/is-ec2#readme","_id":"is-ec2@1.0.0","scripts":{},"_shasum":"737426edf5c4e5ac8351d7e6aaf0da60de632337","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"dvonlehman","email":"david.vonlehman@gmail.com"},"dist":{"shasum":"737426edf5c4e5ac8351d7e6aaf0da60de632337","tarball":"https://registry.npmjs.org/is-ec2/-/is-ec2-1.0.0.tgz","integrity":"sha512-4ckfabgrp+ju0QIUoKZMtc/4+MQcN9cgZOD0tKLOfOLc6h3zjCrbtIcmHZkuvjAipmluvfLRtvp/VxhWF8vkQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZONzxo/LuC7bUQfjzcWjWUC/5eqKQiMDGScIW3iwfRAIgJ+rW/1nBkawS3ygPK/Law6Ss0m2KM9kgDDWGmQeleeg="}]},"maintainers":[{"name":"dvonlehman","email":"david.vonlehman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-ec2-1.0.0.tgz_1461604564941_0.4651315761730075"},"directories":{}},"1.0.1":{"name":"is-ec2","version":"1.0.1","description":"Test if the current node process is running on AWS EC2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dvonlehman/is-ec2.git"},"keywords":["aws","ec2"],"author":{"name":"David Von Lehman"},"license":"ISC","gitHead":"077e929008dd358c8e8743418c3e430c33fd5f28","bugs":{"url":"https://github.com/dvonlehman/is-ec2/issues"},"homepage":"https://github.com/dvonlehman/is-ec2#readme","_id":"is-ec2@1.0.1","scripts":{},"_shasum":"13ca03e44aec41edb4555ac8de6f28147ff50466","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"dvonlehman","email":"david.vonlehman@gmail.com"},"dist":{"shasum":"13ca03e44aec41edb4555ac8de6f28147ff50466","tarball":"https://registry.npmjs.org/is-ec2/-/is-ec2-1.0.1.tgz","integrity":"sha512-DYLmIfx/zjcot+Fz9zuVfwowrjAECqnWeM+JrEqewl35IBkw2MVzP/snTVB6FTzOmjOmJAQRGCEjBuz7R6HsmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzcwX+S4tJbSZADyJv6E1JHPv+oNjX62vnJ0l3Zx/asAiEA2IUzMLA0i1uV8sy9yKoIS3twVCz0etXnKkupV2AycBA="}]},"maintainers":[{"name":"dvonlehman","email":"david.vonlehman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-ec2-1.0.1.tgz_1487821138266_0.6805935027077794"},"directories":{}},"1.0.2":{"name":"is-ec2","version":"1.0.2","description":"Test if the current node process is running on AWS EC2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dvonlehman/is-ec2.git"},"keywords":["aws","ec2"],"author":{"name":"David Von Lehman"},"license":"ISC","gitHead":"077e929008dd358c8e8743418c3e430c33fd5f28","bugs":{"url":"https://github.com/dvonlehman/is-ec2/issues"},"homepage":"https://github.com/dvonlehman/is-ec2#readme","_id":"is-ec2@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"dvonlehman","email":"david.vonlehman@gmail.com"},"dist":{"integrity":"sha512-K4LMo6tySUVkArA/BLyAlzN+fdlJuu70LaglykudHPLKSZeQiyj88Hl/oMQlm+hBPrPo1VcB3Eu8xH+ovsi88A==","shasum":"8be09e5eacaf386989ad06ddc20c9eb84b7ca87d","tarball":"https://registry.npmjs.org/is-ec2/-/is-ec2-1.0.2.tgz","fileCount":3,"unpackedSize":1334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaWVXvP7Ng8XYl5kuAUgZeyYlnJ+UrYTw6bFVGdGmY9AIgSufNsHlrwLaRG54waN5q+UzVuOI7ZWrxPjM4OwpuVzg="}]},"maintainers":[{"name":"dvonlehman","email":"david.vonlehman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-ec2_1.0.2_1520812927866_0.7544861078381409"},"_hasShrinkwrap":false}},"readme":"# is-ec2\n\nSometimes you need to know if you are running on EC2 or not. This will tell you.\n\n~~~sh\nnpm install is-ec2\n~~~\n\n~~~js\nvar isec2 = require('is-ec2');\n\nif (isec2()) {\n  console.log('yep');\n}\n~~~\n\nThis works by executing the following command:\n\n~~~sh\nif [ -f /sys/hypervisor/uuid ]; then echo `head -c 3 /sys/hypervisor/uuid`; fi\n~~~\n\nOnly work on Linux EC2 instances, not Windows. See this [StackOverflow article](http://serverfault.com/questions/462903/how-to-know-if-a-machine-is-an-ec2-instance) for details.\n","maintainers":[{"name":"dvonlehman","email":"david.vonlehman@gmail.com"}],"time":{"modified":"2022-06-19T02:40:02.050Z","created":"2016-04-25T17:16:06.912Z","1.0.0":"2016-04-25T17:16:06.912Z","1.0.1":"2017-02-23T03:39:00.190Z","1.0.2":"2018-03-12T00:02:08.068Z"},"homepage":"https://github.com/dvonlehman/is-ec2#readme","keywords":["aws","ec2"],"repository":{"type":"git","url":"git+https://github.com/dvonlehman/is-ec2.git"},"author":{"name":"David Von Lehman"},"bugs":{"url":"https://github.com/dvonlehman/is-ec2/issues"},"license":"ISC","readmeFilename":"README.md","users":{"prasadbapatla":true}}