{"id":19878710,"url":"https://github.com/ironsource/is-ec2-machine","last_synced_at":"2025-05-02T13:30:47.424Z","repository":{"id":57277119,"uuid":"113998290","full_name":"ironSource/is-ec2-machine","owner":"ironSource","description":"Detect if current machine is running on AWS EC2. ","archived":false,"fork":false,"pushed_at":"2023-03-23T19:02:56.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-27T04:23:12.937Z","etag":null,"topics":["aws","aws-ec2","nodejs","npm-module","npm-package"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ironSource.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-12T14:10:45.000Z","updated_at":"2024-06-21T17:37:56.890Z","dependencies_parsed_at":"2024-06-21T17:37:56.146Z","dependency_job_id":"4b19d453-bc9b-460c-a322-3abc7337c808","html_url":"https://github.com/ironSource/is-ec2-machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fis-ec2-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fis-ec2-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fis-ec2-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fis-ec2-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironSource","download_url":"https://codeload.github.com/ironSource/is-ec2-machine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224182203,"owners_count":17269435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-ec2","nodejs","npm-module","npm-package"],"created_at":"2024-11-12T17:06:27.760Z","updated_at":"2024-11-12T17:06:28.475Z","avatar_url":"https://github.com/ironSource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-ec2-machine\n\n**Detect if current machine is running on AWS EC2. Inspired by [is-ec2]( https://github.com/dvonlehman/is-ec2), adds theoretical Windows support and does not needlessly spawn a process on Linux.**\n\n## usage\n\n```js\nconst isEC2 = require('is-ec2-machine')\n\nif (isEC2()) {\n  console.log('yep')\n} else {\n  console.log('no')\n}\n```\n\n## install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install is-ec2-machine\n```\n\n## license\n\nMIT © ironSource\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Fis-ec2-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironsource%2Fis-ec2-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Fis-ec2-machine/lists"}