{"id":22059232,"url":"https://github.com/opentable/hapi-deployment-info","last_synced_at":"2025-03-23T17:13:23.469Z","repository":{"id":18765793,"uuid":"21978589","full_name":"opentable/hapi-deployment-info","owner":"opentable","description":"plugin for the deployment-info endpoint","archived":false,"fork":false,"pushed_at":"2014-07-21T15:15:48.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-01T15:16:58.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"shahpr/RiboViz","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentable.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}},"created_at":"2014-07-18T11:47:28.000Z","updated_at":"2019-04-11T17:11:19.000Z","dependencies_parsed_at":"2022-08-30T08:32:04.608Z","dependency_job_id":null,"html_url":"https://github.com/opentable/hapi-deployment-info","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/opentable%2Fhapi-deployment-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhapi-deployment-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhapi-deployment-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhapi-deployment-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentable","download_url":"https://codeload.github.com/opentable/hapi-deployment-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136405,"owners_count":20566588,"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":[],"created_at":"2024-11-30T17:27:41.492Z","updated_at":"2025-03-23T17:13:23.444Z","avatar_url":"https://github.com/opentable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Hapi deployment-info\n[![Build Status](https://travis-ci.org/opentable/hapi-deployment-info.png?branch=master)](https://travis-ci.org/opentable/hapi-deployment-info) [![NPM version](https://badge.fury.io/js/hapi-deployment-info.png)](http://badge.fury.io/js/hapi-deployment-info) ![Dependencies](https://david-dm.org/opentable/hapi-deployment-info.png)\n\nShared code for the `deployment-info` endpoint. \n\nReturns deployment-info (specified in config).\n\nInstallation:\n\n```npm install --save hapi-deployment-info```\n\nUsage:\n\n```\nvar server = hapi.createServer();\n\nserver.pack.require(\"hapi-deployment-info\",\n  // data to return\n  {\n    lastCommitSha: \"df45100b52f68d6b8152a10e5200c5853b5202ed\",\n    lastCommitTimestamp: \"2014-07-17T08:42:00Z\"\n  },\n  function (err){\n    if(err){\n      throw err;\n    }\n  }\n);\n```\n\nRoutes:\n\n- `/deployment-info`                // returns the deployment info in the config\n- `/server`                         // gives the server hostname\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fhapi-deployment-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentable%2Fhapi-deployment-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fhapi-deployment-info/lists"}