{"id":20229246,"url":"https://github.com/hisco/forever-process","last_synced_at":"2026-04-11T17:04:12.622Z","repository":{"id":57240118,"uuid":"135353397","full_name":"hisco/forever-process","owner":"hisco","description":"Make sure that your child process scripts will run forever.","archived":false,"fork":false,"pushed_at":"2018-12-07T13:34:28.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:34:43.239Z","etag":null,"topics":["child-process","forever","javascript","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/forever-process","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/hisco.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":"2018-05-29T21:10:54.000Z","updated_at":"2018-08-11T16:56:39.000Z","dependencies_parsed_at":"2022-08-29T22:22:33.541Z","dependency_job_id":null,"html_url":"https://github.com/hisco/forever-process","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/hisco%2Fforever-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisco%2Fforever-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisco%2Fforever-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisco%2Fforever-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hisco","download_url":"https://codeload.github.com/hisco/forever-process/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670700,"owners_count":20000450,"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":["child-process","forever","javascript","nodejs","typescript"],"created_at":"2024-11-14T07:34:58.851Z","updated_at":"2025-12-31T01:04:40.104Z","avatar_url":"https://github.com/hisco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forver process\n\n`forever-process` makes sure that your child process scripts will run forever.\n\n## Simple usage\n\n```js\nconst {ForeverChildProcess} = require('forever-process');\nconst foreverChildProcess = new ForeverChildProcess();\n\nforeverChildProcess.on('child' , (child)=\u003e{\n    child.on('data' , (msg)=\u003e{\n        console.log(msg.toString())\n    })\n})\nforeverChildProcess.fork(`${__dirname}/fail-process`);\n\n```\n\n## Advanced usage\n\n```js\n\nconst {ForeverChildProcess} = require('forever-process');\nconst foreverChildProcess = new ForeverChildProcess({\n    //You can overide any of the following settings\n\n    fork : ()=\u003e{ /* You can overide, just remeber to return the child instance */},\n    spawn : ()=\u003e{ /* You can overide, just remeber to return the child instance */},\n    minUptime : 1000,\n    spinSleepTime : 30000,\n    spinIdentifyTime : 30000,\n    spinCounter : 8\n});\n\nforeverChildProcess.on('child' , (child)=\u003e{\n    child.on('data' , (msg)=\u003e{\n        console.log(msg.toString())\n    })\n})\nforeverChildProcess.fork(`${__dirname}/fail-process`); \n\n```\n## License\n\n  [MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhisco%2Fforever-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhisco%2Fforever-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhisco%2Fforever-process/lists"}