{"id":1604347,"name":"defaults","ecosystem":"npm","description":"Easily handle defaults for your options","homepage":"https://github.com/sindresorhus/node-defaults#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/node-defaults","keywords_array":["config","defaults","options","object","merge","assign","properties","deep"],"namespace":null,"versions_count":9,"first_release_published_at":"2013-02-03T02:22:58.793Z","latest_release_published_at":"2023-10-18T10:12:24.086Z","latest_release_number":"3.0.0","last_synced_at":"2026-10-07T00:00:50.620Z","created_at":"2022-04-09T11:28:04.263Z","updated_at":"2026-10-07T00:00:50.621Z","registry_url":"https://www.npmjs.com/package/defaults","install_command":"npm install defaults","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/sindresorhus","dist-tags":{"latest":"3.0.0"},"contentPolicy":null},"repo_metadata":{"id":6738900,"uuid":"7985040","full_name":"sindresorhus/node-defaults","owner":"sindresorhus","description":"Easily handle defaults for your options","archived":false,"fork":false,"pushed_at":"2026-07-23T13:02:27.000Z","size":16,"stargazers_count":76,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-08-14T07:19:35.711Z","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":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2013-02-03T01:49:29.000Z","updated_at":"2026-08-11T16:51:00.000Z","dependencies_parsed_at":"2023-09-24T06:14:30.947Z","dependency_job_id":"118cf6a9-6d00-4bd1-8ad1-c7221c4afa44","html_url":"https://github.com/sindresorhus/node-defaults","commit_stats":{"total_commits":22,"total_committers":5,"mean_commits":4.4,"dds":0.5,"last_synced_commit":"4b2f4e700baeddf6f808c077a23ff632fa96c35d"},"previous_names":["tmpvar/defaults"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/node-defaults","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/sbom","scorecard":{"id":826610,"data":{"date":"2025-08-11","repo":{"name":"github.com/sindresorhus/node-defaults","commit":"4b2f4e700baeddf6f808c077a23ff632fa96c35d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 3/21 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/node-defaults/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/node-defaults/main.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:21","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/security.md:1","Info: Found linked content: .github/security.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/security.md:1","Info: Found text in security policy: .github/security.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license:0","Info: FSF or OSI recognized license: MIT License: license:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T16:45:07.482Z","repository_id":6738900,"created_at":"2025-08-23T16:45:07.482Z","updated_at":"2025-08-23T16:45:07.482Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36641819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-14T02:00:06.934Z","response_time":54,"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":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focused on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages.","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":1111,"last_synced_at":"2024-10-29T21:14:09.635Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus"],"total_stars":852379,"followers":69513,"following":31,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-10-29T21:14:09.636Z","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":"v3.0.0","sha":"4b2f4e700baeddf6f808c077a23ff632fa96c35d","kind":"tag","published_at":"2023-10-18T10:12:05.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v3.0.0","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v3.0.0/manifests"},{"name":"v2.0.2","sha":"fa7d41df77ba65adf4a8cd72f342b469dd0295cb","kind":"tag","published_at":"2023-08-28T10:13:24.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v2.0.2","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.2/manifests"},{"name":"v2.0.1","sha":"2ba983197d7122c64c5bfcfd73759b9d8bb70dd7","kind":"tag","published_at":"2023-04-11T07:31:40.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v2.0.1","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"73bd2e9087a8e571f540502355797b3c85d4da5b","kind":"tag","published_at":"2023-04-11T07:26:32.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v2.0.0","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v2.0.0/manifests"},{"name":"v1.0.4","sha":"15efe64bad27f59ca6658b44e018d719533d347a","kind":"tag","published_at":"2022-10-10T06:15:02.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v1.0.4","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"8831ec32a5f999bfae1a8c9bf32880971ed7c6f2","kind":"commit","published_at":"2015-10-02T22:26:06.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/v1.0.3","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/v1.0.3/manifests"},{"name":"1.0.0","sha":"1b0c32cfa85d0bdc29cbf4955c0493e84aa15297","kind":"commit","published_at":"2013-02-03T02:24:23.000Z","download_url":"https://codeload.github.com/sindresorhus/node-defaults/tar.gz/1.0.0","html_url":"https://github.com/sindresorhus/node-defaults/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/node-defaults@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-defaults/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-03T22:38:16.205Z","dependent_packages_count":1246,"downloads":220293815,"downloads_period":"last-month","dependent_repos_count":1174952,"rankings":{"downloads":0.02072652919072897,"dependent_repos_count":0.029269035277264557,"dependent_packages_count":0.05774405556571652,"stargazers_count":5.420495394301106,"forks_count":6.934983570730189,"docker_downloads_count":0.0023272853120369385,"average":2.0775909783961737},"purl":"pkg:npm/defaults","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/defaults","docker_dependents_count":65119,"docker_downloads_count":14877834935,"usage_url":"https://repos.ecosyste.ms/usage/npm/defaults","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/defaults/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"critical":true,"issue_metadata":{"last_synced_at":"2026-10-02T22:00:46.243Z","issues_count":4,"pull_requests_count":3,"avg_time_to_close_issue":47829703.75,"avg_time_to_close_pull_request":7101375.0,"issues_closed_count":4,"pull_requests_closed_count":3,"pull_request_authors_count":3,"issue_authors_count":4,"avg_comments_per_issue":0.5,"avg_comments_per_pull_request":0.6666666666666666,"merged_pull_requests_count":3,"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%2Fnode-defaults/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/defaults/codemeta","maintainers":[{"uuid":"sindresorhus","login":"sindresorhus","name":null,"email":"sindresorhus@gmail.com","url":null,"packages_count":1300,"html_url":"https://www.npmjs.com/~sindresorhus","role":null,"created_at":"2022-11-12T00:36:30.756Z","updated_at":"2022-11-12T00:36:30.756Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sindresorhus/packages"}]}