{"id":2586974,"name":"write","ecosystem":"npm","description":"Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.","homepage":"https://github.com/jonschlinkert/write","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jonschlinkert/write","keywords_array":["async","file path","file system","file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","promise","streams","write file","write-file","writefile","write"],"namespace":null,"versions_count":12,"first_release_published_at":"2014-06-28T10:11:42.769Z","latest_release_published_at":"2019-09-04T06:51:25.005Z","latest_release_number":"2.0.0","last_synced_at":"2026-06-02T22:20:28.139Z","created_at":"2022-04-10T03:55:35.994Z","updated_at":"2026-06-02T22:20:28.139Z","registry_url":"https://www.npmjs.com/package/write","install_command":"npm install write","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0"}},"repo_metadata":{"id":18184339,"uuid":"21300433","full_name":"jonschlinkert/write","owner":"jonschlinkert","description":"Write data to the file system, creating any intermediate directories if they don't already exist. Used by flat-cache and many others!","archived":false,"fork":false,"pushed_at":"2019-09-04T06:51:37.000Z","size":66,"stargazers_count":82,"open_issues_count":4,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-05-19T07:18:05.751Z","etag":null,"topics":["async","buffer","disk","file","file-system","fs","javascript","jonschlinkert","nodejs","promise","stream","sync","write","writefile","writefilesync"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","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/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-28T10:13:00.000Z","updated_at":"2025-08-01T04:44:48.000Z","dependencies_parsed_at":"2022-09-18T05:46:51.914Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/write","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/jonschlinkert/write","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/write/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fwrite/sbom","scorecard":{"id":532199,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonschlinkert/write","commit":"f537eb68091d0257b5a4ea915aa00a2c46727198"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Code-Review","score":1,"reason":"Found 2/20 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":"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":"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":"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 'master'"],"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 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-20T05:58:38.580Z","repository_id":18184339,"created_at":"2025-08-20T05:58:38.580Z","updated_at":"2025-08-20T05:58:38.580Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33839115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"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":"jonschlinkert","name":"Jon Schlinkert","uuid":"383994","kind":"user","description":"Son of GitHub. Humble student of @doowb. Creator of @assemble @generate @enquirer @breakdance @update @micromatch","email":"","website":"https://www.linkedin.com/in/jonschlinkert/","location":"Cincinnati, OH","twitter":"jonschlinkert","company":"@brandscale ","icon_url":"https://avatars.githubusercontent.com/u/383994?u=335f06277f72722162e89bd5516849f2e82f37cf\u0026v=4","repositories_count":864,"last_synced_at":"2026-05-18T07:49:32.898Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"jonschlinkert"}},"html_url":"https://github.com/jonschlinkert","funding_links":["https://github.com/sponsors/jonschlinkert"],"total_stars":27003,"followers":4907,"following":61,"created_at":"2022-11-02T16:18:54.193Z","updated_at":"2026-05-18T07:49:32.898Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-06-02T22:20:27.651Z","dependent_packages_count":674,"downloads":16398297,"downloads_period":"last-month","dependent_repos_count":346625,"rankings":{"downloads":0.058600442927294195,"dependent_repos_count":0.05874076965844194,"dependent_packages_count":0.09275596928865293,"stargazers_count":5.235190608262849,"forks_count":6.744707262148918,"docker_downloads_count":0.05961079539155789,"average":2.0416009746129524},"purl":"pkg:npm/write","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/write","docker_dependents_count":5036,"docker_downloads_count":1420033632,"usage_url":"https://repos.ecosyste.ms/usage/npm/write","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/write/dependencies","status":null,"funding_links":["https://github.com/sponsors/jonschlinkert"],"critical":null,"issue_metadata":{"last_synced_at":"2025-05-25T01:07:13.638Z","issues_count":9,"pull_requests_count":5,"avg_time_to_close_issue":2521284.2,"avg_time_to_close_pull_request":10033285.8,"issues_closed_count":5,"pull_requests_closed_count":5,"pull_request_authors_count":5,"issue_authors_count":9,"avg_comments_per_issue":3.2222222222222223,"avg_comments_per_pull_request":2.6,"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/jonschlinkert%2Fwrite/issues","maintainers":[{"login":"jonschlinkert","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jonschlinkert"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/write/codemeta","maintainers":[{"uuid":"doowb","login":"doowb","name":null,"email":"brian.woodward@gmail.com","url":null,"packages_count":815,"html_url":"https://www.npmjs.com/~doowb","role":null,"created_at":"2022-11-11T02:51:58.585Z","updated_at":"2022-11-11T02:51:58.585Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/doowb/packages"},{"uuid":"jonschlinkert","login":"jonschlinkert","name":null,"email":"github@sellside.com","url":null,"packages_count":1548,"html_url":"https://www.npmjs.com/~jonschlinkert","role":null,"created_at":"2022-11-11T02:51:58.671Z","updated_at":"2022-11-11T02:51:58.671Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonschlinkert/packages"}]}