{"_id":"@allnulled/process-semaphore","name":"@allnulled/process-semaphore","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@allnulled/process-semaphore","version":"1.0.0","description":"In one line, it kills the process that previously executed that code, if it is still alive.","main":"process-semaphore.js","scripts":{"test":"node test/test.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","gitHead":"5c7f319565da510dbdda6f722343c51ce5f8bda5","_id":"@allnulled/process-semaphore@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-/gNR0JO7T2VtenQ1MOvuEzkIBifUvI32Lt05hsKkwMpQ+tIH+xfYBt+JLhVNBILj4vcZa2kWqrEkG8C3J4vNOQ==","shasum":"76fc027a9b0cb03c1912f2aec62221a49871960a","tarball":"https://registry.npmjs.org/@allnulled/process-semaphore/-/process-semaphore-1.0.0.tgz","fileCount":8,"unpackedSize":2513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBCVWyyB7P6oepRA8pL6tDUHRlPxfpZKGv+dNhAEFQKwIhAPUpHjz+Y/Kn/mhUHr2FEwHV+osjTvyjcZiM+99pMEWj"}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/process-semaphore_1.0.0_1734433120839_0.9406533188627852"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-17T10:58:40.733Z","1.0.0":"2024-12-17T10:58:41.026Z","modified":"2024-12-17T10:58:41.244Z"},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"description":"In one line, it kills the process that previously executed that code, if it is still alive.","keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","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","readmeFilename":"README.md"}