{"id":18368209,"url":"https://github.com/thinkjs/think-store-file","last_synced_at":"2025-07-15T09:05:12.849Z","repository":{"id":18862075,"uuid":"85456784","full_name":"thinkjs/think-store-file","owner":"thinkjs","description":"Use file to store content","archived":false,"fork":false,"pushed_at":"2022-02-20T23:36:15.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-30T09:07:18.222Z","etag":null,"topics":["store","think-adapter","thinkjs3"],"latest_commit_sha":null,"homepage":null,"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/thinkjs.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":"2017-03-19T06:52:53.000Z","updated_at":"2022-02-19T03:26:11.000Z","dependencies_parsed_at":"2022-08-07T09:00:59.637Z","dependency_job_id":null,"html_url":"https://github.com/thinkjs/think-store-file","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/thinkjs/think-store-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-store-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-store-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-store-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-store-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkjs","download_url":"https://codeload.github.com/thinkjs/think-store-file/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-store-file/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424336,"owners_count":23762880,"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":["store","think-adapter","thinkjs3"],"created_at":"2024-11-05T23:25:06.953Z","updated_at":"2025-07-15T09:05:12.803Z","avatar_url":"https://github.com/thinkjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# think-store-file\n[![Build Status](https://travis-ci.org/thinkjs/think-store-file.svg?branch=master)](https://travis-ci.org/thinkjs/think-store-file)\n[![Coverage Status](https://coveralls.io/repos/github/thinkjs/think-store-file/badge.svg?branch=master)](https://coveralls.io/github/thinkjs/think-store-file?branch=master)\n[![npm](https://img.shields.io/npm/v/think-store-file.svg?style=flat-square)](https://www.npmjs.com/package/think-store-file)\n\n`think-store-file` use file to store content\n\n\n## Usage\n\n\n```js\nimport StoreFile from 'think-store-file';\nlet storeFileInst = new StoreFile(storePath);\n\nlet relativePath = 'abc/a.js';\nawait storeFileInst.set(relativePath, 'Thinkjs'); // set 'Thinkjs' as content\nawait storeFileInst.get(relativePath); // Thinkjs\nawait storeFileInst.delete(relativePath); // delete a.js\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-store-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkjs%2Fthink-store-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-store-file/lists"}