{"id":19651061,"url":"https://github.com/mnutt/node-sd-notify-lite","last_synced_at":"2026-02-04T14:02:29.473Z","repository":{"id":252582294,"uuid":"840850531","full_name":"mnutt/node-sd-notify-lite","owner":"mnutt","description":"node.js systemd notify module without systemd dependency","archived":false,"fork":false,"pushed_at":"2024-08-10T22:22:56.000Z","size":56,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T16:28:26.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/mnutt.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-08-10T22:05:06.000Z","updated_at":"2025-03-27T16:47:31.000Z","dependencies_parsed_at":"2024-08-10T23:28:24.378Z","dependency_job_id":"1c792c90-51dc-43d1-aafc-fcf07602fbfb","html_url":"https://github.com/mnutt/node-sd-notify-lite","commit_stats":null,"previous_names":["mnutt/node-sd-notify-lite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mnutt/node-sd-notify-lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnutt%2Fnode-sd-notify-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnutt%2Fnode-sd-notify-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnutt%2Fnode-sd-notify-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnutt%2Fnode-sd-notify-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnutt","download_url":"https://codeload.github.com/mnutt/node-sd-notify-lite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnutt%2Fnode-sd-notify-lite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262978722,"owners_count":23394016,"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-11-11T15:05:06.355Z","updated_at":"2026-02-04T14:02:24.440Z","avatar_url":"https://github.com/mnutt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sd-notify-lite\n\n## Rationale\n\n[sd-notify](https://github.com/systemd/node-sd-notify) exists, but it links\nagainst the native systemd library. `sd-notify-lite` uses unix sockets directly.\nReasons for using `sd-notify-lite`:\n\n* easy to include and test on MacOS and Linux, even without systemd installed\n* linking to things unnecessarily [can be dangerous](https://archlinux.org/news/the-xz-package-has-been-backdoored/)\n\n## Dependencies\n\nRelies on `unix-dgram` module, which works on MacOS and Linux. Does not work\non Windows.\n\n## Installation\n\n```\nnpm install sd-notify-lite\n```\n\n## Usage\n\n`sd-notify-lite` relies on the `NOTIFY_SOCKET` and `WATCHDOG_USEC` environment\nvariables, which are typically set by systemd prior to executing your process.\n\n```\nconst sdNotify = require('sd-notify-lite');\n\nsdNotify.notifyReady(); // process is fully initialized\nsdNotify.startWatchdog(); // periodically ping\n```\n\n## License\n\nCopyright (c) 2024 Michael Nutt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnutt%2Fnode-sd-notify-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnutt%2Fnode-sd-notify-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnutt%2Fnode-sd-notify-lite/lists"}