{"id":5666042,"name":"@scg82/exit-hook","ecosystem":"npm","description":"Execute a callback when the process exits, passing the exit code (ESM/CJS)","homepage":"https://github.com/SCG82/exit-hook#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/SCG82/exit-hook","keywords_array":["exit","quit","process","hook","graceful","handler","shutdown","sigterm","sigint","terminate","kill","stop","event","signal","async","asynchronous","cjs","esm","subprocess","child","child_process","exitcode","exit-code","code","interrupt","error"],"namespace":"scg82","versions_count":9,"first_release_published_at":"2022-12-09T01:00:24.023Z","latest_release_published_at":"2022-12-14T04:49:41.897Z","latest_release_number":"3.4.1","latest_published_release_number":null,"last_synced_at":"2026-07-19T05:01:34.113Z","created_at":"2022-12-09T01:03:20.527Z","updated_at":"2026-09-22T23:34:01.668Z","registry_url":"https://www.npmjs.com/package/@scg82/exit-hook","install_command":"npm install @scg82/exit-hook","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.4.1"}},"repo_metadata":{"id":64465301,"uuid":"575663311","full_name":"SCG82/exit-hook","owner":"SCG82","description":"Execute a callback when the process exits, passing the exit code (ESM/CJS)","archived":false,"fork":true,"pushed_at":"2022-12-15T03:05:49.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-09-15T11:42:42.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sindresorhus/exit-hook","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SCG82.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/security.md","support":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","tidelift":"npm/exit-hook","custom":"https://sindresorhus.com/donate"}},"created_at":"2022-12-08T02:42:29.000Z","updated_at":"2023-09-18T14:48:29.000Z","dependencies_parsed_at":"2023-01-29T01:45:14.888Z","dependency_job_id":null,"html_url":"https://github.com/SCG82/exit-hook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SCG82/exit-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SCG82","download_url":"https://codeload.github.com/SCG82/exit-hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37602971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-22T02:00:07.665Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"SCG82","name":null,"uuid":"29472529","kind":"user","description":"","email":"scg082+github@gmail.com","website":null,"location":"Southern California","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/29472529?u=0a5e58f6946c874e405fe699e166f651999cfd9e\u0026v=4","repositories_count":9,"last_synced_at":"2026-09-20T02:35:07.756Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/SCG82","funding_links":[],"total_stars":null,"followers":17,"following":47,"created_at":"2022-11-18T12:47:13.109Z","updated_at":"2026-09-20T02:35:07.774Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SCG82","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SCG82/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-22T23:34:01.667Z","dependent_packages_count":4,"downloads":1093,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":2.6661053258899248,"dependent_repos_count":10.410176363164812,"dependent_packages_count":4.545853491549283,"stargazers_count":21.047505705634688,"forks_count":15.49480206590964,"docker_downloads_count":null,"average":10.83288859042967},"purl":"pkg:npm/%40scg82/exit-hook","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@scg82/exit-hook","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@scg82/exit-hook","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@scg82/exit-hook/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://tidelift.com/funding/github/npm/exit-hook","https://sindresorhus.com/donate"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-28T06:53:42.157Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCG82%2Fexit-hook/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@scg82%2Fexit-hook/codemeta","maintainers":[{"uuid":"scg82","login":"scg82","name":null,"email":"scg082+npm@gmail.com","url":null,"packages_count":4,"html_url":"https://www.npmjs.com/~scg82","role":null,"created_at":"2022-12-09T01:05:49.920Z","updated_at":"2022-12-09T01:05:49.920Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/scg82/packages"}]}