{"id":18371102,"url":"https://github.com/welefen/sharedarraybufferstore","last_synced_at":"2026-03-06T17:03:54.692Z","repository":{"id":57357986,"uuid":"142566985","full_name":"welefen/sharedArrayBufferStore","owner":"welefen","description":"use sharedArrayBuffer to store data","archived":false,"fork":false,"pushed_at":"2018-07-30T04:08:09.000Z","size":13,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T05:13:50.797Z","etag":null,"topics":["arraybuffer","lock","sharedarraybuffer","uint16array","uint32array","uint8array","worker-threads"],"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/welefen.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":"2018-07-27T11:04:40.000Z","updated_at":"2024-10-08T23:34:22.000Z","dependencies_parsed_at":"2022-09-26T16:40:37.652Z","dependency_job_id":null,"html_url":"https://github.com/welefen/sharedArrayBufferStore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welefen%2FsharedArrayBufferStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welefen%2FsharedArrayBufferStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welefen%2FsharedArrayBufferStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welefen%2FsharedArrayBufferStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/welefen","download_url":"https://codeload.github.com/welefen/sharedArrayBufferStore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247539079,"owners_count":20955236,"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":["arraybuffer","lock","sharedarraybuffer","uint16array","uint32array","uint8array","worker-threads"],"created_at":"2024-11-05T23:43:00.019Z","updated_at":"2025-04-06T19:31:51.499Z","avatar_url":"https://github.com/welefen.png","language":"JavaScript","readme":"# sharedArrayBufferStore\n\nuse sharedArrayBuffer to store data\n\n## Install\n\n```\nnpm install shared-array-buffer-store\n```\n\n## How to use\n\n```js\nconst SharedArrayBufferStore = require('shared-array-buffer-store');\nconst instance = new SharedArrayBufferStore(options);\n//set data\ninstance.set('name', 'value');\n//get data\ninstance.get('name');\n//delete key\ninstance.delete('name');\n// get all keys\nconst keys = instance.keys();\n```\n\n### options\n\n* `keyBuffer` {sharedArrayBuffer} store key buffer\n* `keyBufferLength` {Number} store key buffer size, default is `1024 * 1024 * 5`\n* `valueBuffer` {sharedArrayBuffer} store value buffer\n* `valueBufferLength` {Number} store key buffer size, default is `1024 * 1024 * 100`\n* `reservedLength` {Number} reserved size in key buffer and value buffer, default is 1\n* `encrypt`\n  * `encode(string, encoding)`\n  * `decode(buffer, encoding)`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelefen%2Fsharedarraybufferstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwelefen%2Fsharedarraybufferstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelefen%2Fsharedarraybufferstore/lists"}