{"id":16361431,"url":"https://github.com/kirlovon/fast-writer","last_synced_at":"2025-10-26T04:32:27.641Z","repository":{"id":62422222,"uuid":"396555580","full_name":"Kirlovon/fast-writer","owner":"Kirlovon","description":"Fast \u0026 Safe file writing for Deno ✒","archived":false,"fork":false,"pushed_at":"2021-08-16T01:06:00.000Z","size":3,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-27T00:19:32.771Z","etag":null,"topics":["deno","javascript","library","steno","typescript","utility","writing"],"latest_commit_sha":null,"homepage":"https://deno.land/x/fastwriter","language":"TypeScript","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/Kirlovon.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":null,"support":null}},"created_at":"2021-08-16T00:59:08.000Z","updated_at":"2024-07-24T08:41:30.000Z","dependencies_parsed_at":"2022-11-01T17:31:27.193Z","dependency_job_id":null,"html_url":"https://github.com/Kirlovon/fast-writer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirlovon%2Ffast-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirlovon%2Ffast-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirlovon%2Ffast-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirlovon%2Ffast-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kirlovon","download_url":"https://codeload.github.com/Kirlovon/fast-writer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219863870,"owners_count":16555943,"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"}},"keywords":["deno","javascript","library","steno","typescript","utility","writing"],"created_at":"2024-10-11T02:14:00.451Z","updated_at":"2025-10-26T04:32:22.321Z","avatar_url":"https://github.com/Kirlovon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno FastWriter ✒\nFast \u0026 Safe file writing for [Deno](https://deno.land/)!\n\nThis utility has no dependencies, and is made to speed up overwriting the same file. It writes the last provided data only when previous data has been written. Also, the writing is **atomic**, so main file will not be corrupted in case of an emergency process exiting.\n\n\u003e This library is heavily inspired by [steno](https://github.com/typicode/steno) made by [typicode](https://github.com/typicode). FastWriter uses same optimization techniques, but made specifically for Deno.\n\n\u003cbr\u003e\n\n## Example\n```typescript\nimport { FastWriter } from 'https://deno.land/x/fastwriter/mod.ts'\n\n// Initialize writer\nconst writer = new FastWriter('./my-file.txt');\n\n// Write data using this method\nwriter.write('Super-fast writing!');\n```\n\n\u003cbr\u003e\n\n## Benchmarks\n| Operations | FastWriter   | writeTextFile | writeTextFile _(Without `await`)_ |\n| ---------- | ------------ | ------------- | -------------------------------   |\n| 1,000      | **\u003c 1ms**    | 1724ms        | 12ms                              |\n| 10,000     | **3ms**      | 26372ms       | 89ms                              |\n| 100,000    | **16ms**     | ∞             | 922ms                             |\n\n_You can run `benchmark.ts` to check it by yourself!_\n\n\u003cbr\u003e\n\n## License\nMIT _(see [LICENSE](https://github.com/Kirlovon/FastWriter/blob/master/LICENSE) file)_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirlovon%2Ffast-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirlovon%2Ffast-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirlovon%2Ffast-writer/lists"}