{"id":20767005,"url":"https://github.com/binded/atomic-fs-blob-store","last_synced_at":"2025-12-26T03:59:23.450Z","repository":{"id":57108312,"uuid":"68855977","full_name":"binded/atomic-fs-blob-store","owner":"binded","description":"blob store that atomically stores blobs (e.g. no partial writes) on the local file system","archived":false,"fork":false,"pushed_at":"2016-09-22T03:45:22.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-01T09:25:36.503Z","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/binded.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":"2016-09-21T20:42:24.000Z","updated_at":"2017-06-24T04:39:36.000Z","dependencies_parsed_at":"2022-08-20T17:11:23.895Z","dependency_job_id":null,"html_url":"https://github.com/binded/atomic-fs-blob-store","commit_stats":null,"previous_names":["blockai/atomic-fs-blob-store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fatomic-fs-blob-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fatomic-fs-blob-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fatomic-fs-blob-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fatomic-fs-blob-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binded","download_url":"https://codeload.github.com/binded/atomic-fs-blob-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243094608,"owners_count":20235531,"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":[],"created_at":"2024-11-17T11:27:13.006Z","updated_at":"2025-12-26T03:59:23.404Z","avatar_url":"https://github.com/binded.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# atomic-fs-blob-store\n\n[blob store](https://github.com/maxogden/abstract-blob-store) that atomically stores blobs (e.g. no partial writes) on the local file system.\n\nForked from [fs-blob-store](https://github.com/maxogden/fs-blob-store)\n\n```sh\nnpm install atomic-fs-blob-store\n```\n\n[![build status](http://img.shields.io/travis/blockai/atomic-fs-blob-store.svg?style=flat)](http://travis-ci.org/blockai/atomic-fs-blob-store)\n\n[![blob-store-compatible](https://raw.githubusercontent.com/maxogden/abstract-blob-store/master/badge.png)](https://github.com/maxogden/abstract-blob-store)\n\n## Usage\n\n``` js\nvar fs = require('atomic-fs-blob-store')\nvar blobs = fs('some-directory')\n\nvar ws = blobs.createWriteStream({\n  key: 'some/path/file.txt'\n})\n\nws.write('hello world\\n')\nws.end(function() {\n  var rs = blobs.createReadStream({\n    key: 'some/path/file.txt'\n  })\n\n  rs.pipe(process.stdout)\n})\n```\n\n## Atomicity\n\nThe original `fs-blob-store` doesn't make atomic writes which may lead\nto partially written files when an error occurs or if the process\ncrashes.\n\n`atomic-fs-blob-store` guarantees write atomicity, which means that if\nyour process crashes in the middle of a write, the file won't be written\nat all.\n\nWhich mean that a key only starts to exist and becomes available for\nreading once a write is fully completed.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fatomic-fs-blob-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinded%2Fatomic-fs-blob-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fatomic-fs-blob-store/lists"}