{"id":23380793,"url":"https://github.com/softonic/hapi-softonic-load-balancing","last_synced_at":"2025-04-08T07:44:16.138Z","repository":{"id":13102875,"uuid":"73613701","full_name":"softonic/hapi-softonic-load-balancing","owner":"softonic","description":"Hapi plugin to provide health checks for a server in the Softonic infrastructure","archived":false,"fork":false,"pushed_at":"2022-12-09T08:08:38.000Z","size":110,"stargazers_count":0,"open_issues_count":17,"forks_count":2,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-04-14T11:16:42.201Z","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":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softonic.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":"2016-11-13T12:14:10.000Z","updated_at":"2019-12-10T13:31:03.000Z","dependencies_parsed_at":"2023-01-13T18:45:07.669Z","dependency_job_id":null,"html_url":"https://github.com/softonic/hapi-softonic-load-balancing","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fhapi-softonic-load-balancing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fhapi-softonic-load-balancing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fhapi-softonic-load-balancing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fhapi-softonic-load-balancing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softonic","download_url":"https://codeload.github.com/softonic/hapi-softonic-load-balancing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801195,"owners_count":20998331,"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-12-21T20:18:37.802Z","updated_at":"2025-04-08T07:44:16.118Z","avatar_url":"https://github.com/softonic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hapi-softonic-load-balancing\n\nHapi plugin to provide health checks for a server in the Softonic infrastructure.\n\nThe health check endpoint is `/loadbalancer.html`.\n\n## Installation\n\n```bash\nnpm install hapi-softonic-load-balancing\n```\n\n## Usage\n\n```javascript\n// CommonJS\n// const HapiSoftonicLoadBalancing = require('hapi-softonic-load-balancing');\n\n// ES6\nimport Inert from 'inert';\nimport HapiSoftonicLoadBalancing from 'hapi-softonic-load-balancing';\n\n// Register dependency\nawait server.register({\n  plugin: Inert,\n});\n\n// Registration\nawait server.register({\n  plugin: HapiSoftonicLoadBalancing\n});\n```\n\n## Testing\n\nClone the repository and execute:\n\n```bash\nnpm test\n```\n\n## Contribute\n\n1. Fork it: `git clone https://github.com/softonic/hapi-softonic-load-balancing.git`\n2. Create your feature branch: `git checkout -b feature/my-new-feature`\n3. Commit your changes: `git commit -am 'Added some feature'`\n4. Check the build: `npm run build`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fhapi-softonic-load-balancing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftonic%2Fhapi-softonic-load-balancing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fhapi-softonic-load-balancing/lists"}