{"id":872459,"name":"@commonify/onetime","ecosystem":"npm","description":"CommonJS version of onetime 6.0.0. See https://github.com/mifi/commonify","homepage":"https://github.com/sindresorhus/onetime#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/onetime","keywords_array":["once","function","one","onetime","func","fn","single","call","called","prevent"],"namespace":"commonify","versions_count":1,"first_release_published_at":"2022-01-25T12:07:09.905Z","latest_release_published_at":"2022-01-25T12:07:09.905Z","latest_release_number":"6.0.0","last_synced_at":"2026-04-17T14:26:09.178Z","created_at":"2022-04-07T15:05:15.715Z","updated_at":"2026-04-17T14:26:09.178Z","registry_url":"https://www.npmjs.com/package/@commonify/onetime","install_command":"npm install @commonify/onetime","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"6.0.0"}},"repo_metadata":{"id":12236013,"uuid":"14847357","full_name":"sindresorhus/onetime","owner":"sindresorhus","description":"Ensure a function is only called once","archived":false,"fork":false,"pushed_at":"2023-11-05T20:42:05.000Z","size":40,"stargazers_count":157,"open_issues_count":1,"forks_count":14,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-14T09:53:10.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.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,"governance":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2013-12-01T22:19:23.000Z","updated_at":"2024-03-25T22:19:35.000Z","dependencies_parsed_at":"2022-09-05T17:00:38.721Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/onetime","commit_stats":{"total_commits":47,"total_committers":9,"mean_commits":5.222222222222222,"dds":"0.23404255319148937","last_synced_commit":"660d06d232ab9f18fce7f47d60d4eeb7e885a35e"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":216713463,"owners_count":16068703,"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"},"owner_record":{"login":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focuses on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages. Likes unicorns.","email":"","website":"https://sindresorhus.com/apps","location":null,"twitter":"sindresorhus","company":null,"icon_url":"https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89\u0026v=4","repositories_count":1102,"last_synced_at":"2024-04-15T08:17:34.428Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"total_stars":804815,"followers":66084,"following":30,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-04-15T08:21:19.389Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus/repositories"},"tags":[{"name":"v7.0.0","sha":"660d06d232ab9f18fce7f47d60d4eeb7e885a35e","kind":"tag","published_at":"2023-11-05T20:41:53.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v7.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v7.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v7.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v7.0.0/manifests"},{"name":"v6.0.0","sha":"e5fd86f2303546a2d9cc82f2a72c3ea840f6a2dc","kind":"tag","published_at":"2021-04-08T13:47:37.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v6.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v6.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v6.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v6.0.0/manifests"},{"name":"v5.1.2","sha":"4fa3c9a40798476514fec36a1720dc85b897cc04","kind":"tag","published_at":"2020-08-09T20:28:51.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v5.1.2","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v5.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.2/manifests"},{"name":"v5.1.1","sha":"59e0ad2204b5d44b448a71afb13f228d1977f07f","kind":"tag","published_at":"2020-08-02T10:28:24.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v5.1.1","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v5.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.1/manifests"},{"name":"v5.1.0","sha":"8bb24f70649ee69849a0701477ebc7170e7a4f87","kind":"tag","published_at":"2019-04-02T02:37:59.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v5.1.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v5.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.1.0/manifests"},{"name":"v5.0.0","sha":"4f1b26154e811b5af3958b759b7c29a2c4692ebd","kind":"tag","published_at":"2019-03-08T05:57:13.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v5.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v5.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v5.0.0/manifests"},{"name":"v4.0.0","sha":"65ad3c02a2ad06d6ec1f49ce80c98f4a5c172bf6","kind":"tag","published_at":"2019-03-01T09:14:50.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v4.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v4.0.0/manifests"},{"name":"v3.0.0","sha":"2057a659c432c544e2f14bee3b7e99abc210ba9c","kind":"tag","published_at":"2019-01-20T15:37:31.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v3.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v3.0.0/manifests"},{"name":"v2.0.1","sha":"32bca382f5934c8fe7fd78bcef9ad16b3474948f","kind":"tag","published_at":"2017-03-20T03:23:34.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v2.0.1","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"bb498adb2da79e62b923173480803a9c6f759766","kind":"tag","published_at":"2016-10-19T18:41:54.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v2.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v2.0.0/manifests"},{"name":"v1.1.0","sha":"6fae2fb77b95b49719d1c270d8ba07d9515bdfe8","kind":"tag","published_at":"2015-12-18T00:30:50.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v1.1.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"a4aa1ce5291cc5f32ecb8f4b0a918b12cb47ea5e","kind":"tag","published_at":"2014-08-13T17:05:10.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/v1.0.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/v1.0.0/manifests"},{"name":"0.1.1","sha":"ba52592c3859995cb5e53a792d869015a7bcab22","kind":"tag","published_at":"2014-04-30T22:39:36.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/0.1.1","html_url":"https://github.com/sindresorhus/onetime/releases/tag/0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/0.1.1/manifests"},{"name":"0.1.0","sha":"687bd16e7673038453addc904ee9d8c54c608d82","kind":"tag","published_at":"2013-12-01T22:20:58.000Z","download_url":"https://codeload.github.com/sindresorhus/onetime/tar.gz/0.1.0","html_url":"https://github.com/sindresorhus/onetime/releases/tag/0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fonetime/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2024-09-06T09:24:16.038Z","dependent_packages_count":2,"downloads":37,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":58.03721924745341,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":5.311115016878691,"forks_count":6.888125843824515,"average":22.357677330492635},"purl":"pkg:npm/%40commonify/onetime","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@commonify/onetime","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@commonify/onetime","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@commonify/onetime/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"critical":null,"issue_metadata":{"last_synced_at":"2024-09-06T09:24:07.807Z","issues_count":5,"pull_requests_count":9,"avg_time_to_close_issue":4823484.25,"avg_time_to_close_pull_request":31775.88888888889,"issues_closed_count":4,"pull_requests_closed_count":9,"pull_request_authors_count":8,"issue_authors_count":4,"avg_comments_per_issue":1.6,"avg_comments_per_pull_request":0.3333333333333333,"merged_pull_requests_count":8,"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/sindresorhus%2Fonetime/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@commonify%2Fonetime/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@commonify%2Fonetime/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@commonify%2Fonetime/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@commonify%2Fonetime/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@commonify%2Fonetime/codemeta","maintainers":[{"uuid":"mifi","login":"mifi","name":null,"email":"finstaden@gmail.com","url":null,"packages_count":139,"html_url":"https://www.npmjs.com/~mifi","role":null,"created_at":"2022-11-16T06:25:24.189Z","updated_at":"2022-11-16T06:25:24.189Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mifi/packages"}]}