{"id":16151564,"url":"https://github.com/misa198/heroku-awake-js","last_synced_at":"2025-03-18T19:31:20.712Z","repository":{"id":44817119,"uuid":"263956342","full_name":"misa198/heroku-awake-js","owner":"misa198","description":"Keep your herokuapp always awakes.","archived":true,"fork":false,"pushed_at":"2022-01-22T16:01:26.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T15:06:31.386Z","etag":null,"topics":["dyno","heroku","heroku-dyno","herokuapp","nodejs","timeout"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/heroku-awake","language":"TypeScript","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/misa198.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-14T15:42:36.000Z","updated_at":"2024-10-24T09:14:37.000Z","dependencies_parsed_at":"2022-07-21T14:32:42.763Z","dependency_job_id":null,"html_url":"https://github.com/misa198/heroku-awake-js","commit_stats":null,"previous_names":["misa198/heroku-awake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misa198%2Fheroku-awake-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misa198%2Fheroku-awake-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misa198%2Fheroku-awake-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misa198%2Fheroku-awake-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/misa198","download_url":"https://codeload.github.com/misa198/heroku-awake-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056427,"owners_count":20390720,"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":["dyno","heroku","heroku-dyno","herokuapp","nodejs","timeout"],"created_at":"2024-10-10T00:57:59.476Z","updated_at":"2025-03-18T19:31:20.431Z","avatar_url":"https://github.com/misa198.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku Awake\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://res.cloudinary.com/dumfvnj9f/image/upload/v1604343810/heroku-awake/dyno_weedab.png\" width=\"256px\" /\u003e\n  \u003cp align=\"center\" style=\"font-size: 20px; color: #79589F\"\u003e\n    Keep your herokuapp always awakes.\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://camo.githubusercontent.com/c031efcc66c1bfc646f4369604955b26f3e1dbcb/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f657870726573732e737667\" alt=\"NPM Version\" data-canonical-src=\"https://img.shields.io/npm/v/express.svg\" style=\"max-width:100%;\"\u003e\n    \u003cimg src=\"https://camo.githubusercontent.com/832d01092b0e822178475741271b049a2e27df13/68747470733a2f2f62616467656e2e6e65742f62616467652f2d2f547970655363726970742f626c75653f69636f6e3d74797065736372697074266c6162656c\" alt=\"ts\" data-canonical-src=\"https://badgen.net/badge/-/TypeScript/blue?icon=typescript\u0026amp;label\" style=\"max-width:100%;\"\u003e\n    \u003cimg src=\"https://camo.githubusercontent.com/195f84d670ceb5a1d47c755d24a991da4b902440/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f406e6573746a732f636f72652e737667\" alt=\"Package License\" data-canonical-src=\"https://img.shields.io/npm/l/@nestjs/core.svg\" style=\"max-width:100%;\"\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\" style=\"font-size: 14px;\"\u003e\n    Support Javascript and Typescript\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Requirement\n\n- Node\n- Yarn or NPM\n\n## Installation\n\n```bash\n$ npm i heroku-awake --save\n# OR\n$ yarn add heroku-awake\n```\n\n## Usage\n\n### Javascript\n```javascript\nconst express = require(\"express\");\nconst herokuAwake = require(\"heroku-awake\");\n\nconst PORT = 3000;\nconst url = \"https://your-app.herokuapp.com\";\n\nconst app = express();\n\napp.listen(PORT, () =\u003e {\n  // Default application refresh time is 25 mins\n  herokuAwake(url);\n\n  // If you want to change application refresh time\n  const time = 10;\n  herokuAwake(url, time);\n});\n```\n\n\n### Typescript\n```typescript\nimport * as express from \"express\";\nimport * as herokuAwake from \"heroku-awake\";\n\nconst PORT = 3000;\nconst url = \"https://your-app.herokuapp.com\";\n\nconst app = express();\n\napp.listen(PORT, () =\u003e {\n  // Default application refresh time is 25 mins\n  herokuAwake(url);\n\n  // If you want to change application refresh time\n  const time = 10;\n  herokuAwake(url, time);\n});\n```\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisa198%2Fheroku-awake-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisa198%2Fheroku-awake-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisa198%2Fheroku-awake-js/lists"}