{"id":5185278,"name":"@esm2cjs/onetime","ecosystem":"npm","description":"Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.","homepage":"https://github.com/esm2cjs/onetime#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/esm2cjs/onetime","keywords_array":["once","function","one","onetime","func","fn","single","call","called","prevent"],"namespace":"esm2cjs","versions_count":2,"first_release_published_at":"2022-08-18T13:21:39.006Z","latest_release_published_at":"2022-08-18T22:57:23.183Z","latest_release_number":"6.0.1-cjs.0","last_synced_at":"2026-07-05T13:11:45.700Z","created_at":"2022-08-20T00:53:24.859Z","updated_at":"2026-10-02T09:25:59.674Z","registry_url":"https://www.npmjs.com/package/@esm2cjs/onetime","install_command":"npm install @esm2cjs/onetime","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/AlCalzone","dist-tags":{"latest":"6.0.1-cjs.0"}},"repo_metadata":{"id":56870865,"uuid":"526217583","full_name":"esm2cjs/onetime","owner":"esm2cjs","description":"Ensure a function is only called once","archived":false,"fork":true,"pushed_at":"2023-04-26T13:54:57.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-19T17:55:35.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sindresorhus/onetime","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esm2cjs.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":null,"support":null},"funding":{"github":"AlCalzone","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-08-18T13:12:38.000Z","updated_at":"2022-08-18T13:17:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/esm2cjs/onetime","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/esm2cjs/onetime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esm2cjs","download_url":"https://codeload.github.com/esm2cjs/onetime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37208943,"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-11T02:00:05.857Z","response_time":56,"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":"esm2cjs","name":"ESM to CommonJS","uuid":"111446027","kind":"organization","description":"Hybrid ESM/CJS forks of popular ESM-only packages","email":null,"website":null,"location":"Germany","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/111446027?v=4","repositories_count":45,"last_synced_at":"2025-05-09T02:02:13.210Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/esm2cjs","funding_links":[],"total_stars":20,"followers":39,"following":0,"created_at":"2023-04-26T15:01:51.747Z","updated_at":"2025-05-09T02:02:13.211Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esm2cjs","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esm2cjs/repositories"},"tags":[{"name":"v6.0.0-cjs","sha":"383f88ddae9e26986b22d3d8d1052b089aba5d14","kind":"commit","published_at":"2022-08-18T13:20:06.000Z","download_url":"https://codeload.github.com/esm2cjs/onetime/tar.gz/v6.0.0-cjs","html_url":"https://github.com/esm2cjs/onetime/releases/tag/v6.0.0-cjs","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/esm2cjs/onetime@v6.0.0-cjs","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/tags/v6.0.0-cjs","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm2cjs%2Fonetime/tags/v6.0.0-cjs/manifests"}]},"repo_metadata_updated_at":"2026-09-11T03:28:16.467Z","dependent_packages_count":3,"downloads":87748,"downloads_period":"last-month","dependent_repos_count":152,"rankings":{"downloads":0.8262947700141083,"dependent_repos_count":1.2118485630758278,"dependent_packages_count":5.8892732535894154,"stargazers_count":20.91755360151141,"forks_count":15.383205223581465,"docker_downloads_count":null,"average":8.845635082354445},"purl":"pkg:npm/%40esm2cjs/onetime","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@esm2cjs/onetime","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@esm2cjs/onetime","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@esm2cjs/onetime/dependencies","status":null,"funding_links":["https://github.com/sponsors/AlCalzone"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-09T13:51:56.905Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":16.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"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/esm2cjs%2Fonetime/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@esm2cjs%2Fonetime/codemeta","maintainers":[{"uuid":"alcalzone","login":"alcalzone","name":null,"email":"d.griesel@gmx.net","url":null,"packages_count":312,"html_url":"https://www.npmjs.com/~alcalzone","role":null,"created_at":"2022-11-13T03:10:52.846Z","updated_at":"2022-11-13T03:10:52.846Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/alcalzone/packages"}]}