{"id":23286683,"url":"https://github.com/allnulled/process-semaphore","last_synced_at":"2025-10-26T09:49:03.812Z","repository":{"id":268537975,"uuid":"904679408","full_name":"allnulled/process-semaphore","owner":"allnulled","description":"In one line, it kills the process that previously executed that code, if it is still alive.","archived":false,"fork":false,"pushed_at":"2024-12-17T10:58:10.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T05:32:56.234Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allnulled.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T10:54:51.000Z","updated_at":"2024-12-18T17:51:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"d92351b6-40b1-410d-8d7f-7b39d94ac17c","html_url":"https://github.com/allnulled/process-semaphore","commit_stats":null,"previous_names":["allnulled/process-semaphore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fprocess-semaphore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fprocess-semaphore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fprocess-semaphore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fprocess-semaphore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allnulled","download_url":"https://codeload.github.com/allnulled/process-semaphore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247503501,"owners_count":20949450,"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-20T02:14:03.982Z","updated_at":"2025-10-26T09:48:58.769Z","avatar_url":"https://github.com/allnulled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# process-semaphore\n\nIn one line, it kills the process that previously executed that code, if it is still alive.\n\n## Installation\n\n```sh\nnpm i -s @allnulled/process-semaphore\n```\n\n## API Usage\n\n```js\nrequire(\"@allnulled/process-semaphore\").create(\"pid.json\").renew(false);\n```\n\nWith this line, you will avoid the error of:\n\n```\nError: listen EADDRINUSE: address already in use :::3000\n    at Server.setupListenHandle [as _listen2] (node:net:1751:16)\n    at listenInCluster (node:net:1799:12)\n    at Server.listen (node:net:1887:7)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fprocess-semaphore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallnulled%2Fprocess-semaphore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fprocess-semaphore/lists"}