{"id":19932772,"url":"https://github.com/mixmaxhq/aws-instance-metadata","last_synced_at":"2025-05-03T11:32:56.837Z","repository":{"id":10329464,"uuid":"65326760","full_name":"mixmaxhq/aws-instance-metadata","owner":"mixmaxhq","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-20T18:41:24.000Z","size":231,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-04-13T23:24:20.723Z","etag":null,"topics":["corgi-tag"],"latest_commit_sha":null,"homepage":"https://www.mixmax.com/careers","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/mixmaxhq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-08-09T20:40:45.000Z","updated_at":"2024-06-21T15:22:00.800Z","dependencies_parsed_at":"2024-06-21T15:21:53.873Z","dependency_job_id":"d6764c97-2328-4253-be89-3a6334d43d47","html_url":"https://github.com/mixmaxhq/aws-instance-metadata","commit_stats":{"total_commits":39,"total_committers":10,"mean_commits":3.9,"dds":0.717948717948718,"last_synced_commit":"d6b6617e36b5a42d6a975c83f9780744899019c2"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixmaxhq%2Faws-instance-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixmaxhq%2Faws-instance-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixmaxhq%2Faws-instance-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mixmaxhq%2Faws-instance-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mixmaxhq","download_url":"https://codeload.github.com/mixmaxhq/aws-instance-metadata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224360219,"owners_count":17298319,"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":["corgi-tag"],"created_at":"2024-11-12T23:11:31.340Z","updated_at":"2024-11-12T23:11:31.989Z","avatar_url":"https://github.com/mixmaxhq.png","language":"JavaScript","readme":"## aws-instance-metadata\n\nThis module is used to retrieve a piece of metadata for a running AWS EC2\ninstance. It returns takes a callback in order to return the data.\n\n## Install\n```sh\nnpm install aws-instance-metadata\n```\n\nor\n\n```sh\nnpm install aws-instance-metadata --save\n```\n\n## Usage\n\nWhen using raven.js, it's common to add server level information for debugging\npurposes. We can use aws-instance-metadata to do just that. In order to tag all\nfuture error messages with the instance ID, we could do:\n\n```js\nconst raven = require('raven').Client(/* configuration omitted */);\nconst awsInstanceMetadata = require('aws-instance-metadata');\n\nawsInstanceMetadata.fetch('instance-id').then((instanceId) =\u003e {\n  raven.setTagsContext({\n    instanceId: instanceId\n  });\n}, console.error);\n```\n\n## Publishing a new version\n\n```\nGH_TOKEN=xxx npx semantic-release --no-ci\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixmaxhq%2Faws-instance-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmixmaxhq%2Faws-instance-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixmaxhq%2Faws-instance-metadata/lists"}