{"id":20109839,"url":"https://github.com/hyper63/hyper-adapter-sqlite","last_synced_at":"2025-03-02T18:24:53.422Z","repository":{"id":41984842,"uuid":"403119427","full_name":"hyper63/hyper-adapter-sqlite","owner":"hyper63","description":"An adapter that implements the hyper Cache Port using SQLite","archived":false,"fork":false,"pushed_at":"2023-11-29T00:54:10.000Z","size":215,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T05:41:38.688Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyper63.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-04T17:39:46.000Z","updated_at":"2023-12-14T16:33:59.000Z","dependencies_parsed_at":"2023-11-29T01:49:58.770Z","dependency_job_id":null,"html_url":"https://github.com/hyper63/hyper-adapter-sqlite","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":"hyper63/adapter-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper63","download_url":"https://codeload.github.com/hyper63/hyper-adapter-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550077,"owners_count":19980645,"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-13T18:09:36.587Z","updated_at":"2025-03-02T18:24:53.396Z","avatar_url":"https://github.com/hyper63.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003ehyper-adapter-sqlite\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA cache adapter for hyper\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://nest.land/package/hyper-adapter-sqlite\"\u003e\u003cimg src=\"https://nest.land/badge.svg\" alt=\"Nest Badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-sqlite/actions/workflows/test-and-publish.yml\"\u003e\u003cimg src=\"https://github.com/hyper63/hyper-adapter-sqlite/actions/workflows/test-and-publish.yml/badge.svg\" alt=\"Test\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-sqlite/tags/\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/hyper63/hyper-adapter-sqlite\" alt=\"Current Version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003c!-- toc --\u003e\n\n- [Installation](#installation)\n- [Features](#features)\n- [Methods](#methods)\n- [Contributing](#contributing)\n- [Testing](#testing)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\nWelcome to the sqlite hyper adapter for the cache port, a cache allows you to store key,value pairs\nwhere the key is a unique string and the value is a JSON document. Using this simple pattern, you\ncan store highly accessible data for lighting fast reading.\n\nAdd the cache adapter to your hyper config\n\n```js\nimport { default as sqlite } from 'https://x.nest.land/hyper-adapter-sqlite/mod.js'\n\nexport default {\n  app: opine,\n  adapter: [\n    {\n      port: 'cache',\n      plugins: [sqlite({ dir: '/tmp' })],\n    },\n  ],\n}\n```\n\n## Installation\n\nThis is a Deno module available to import from\n[nest.land](https://nest.land/package/hyper-adapter-sqlite)\n\ndeps.js\n\n```js\nexport { default as sqlite } from 'https://x.nest.land/hyper-adapter-sqlite/mod.js'\n```\n\n## Features\n\n- Create a named store in `sqlite`\n- Destroy a named store in `sqlite`\n- Create a document in a store in `sqlite`\n- Get a document from a store in `sqlite`\n- Update a document in a store in `sqlite`\n- Delete a document from a store in `sqlite`\n- List documents in a sttore in `sqlite`\n\n## Methods\n\nThis adapter fully implements the Cache port and can be used as the\n[hyper Cache service](https://docs.hyper.io/cache-api) adapter\n\nSee the full port [here](https://nest.land/package/hyper-port-cache)\n\n## Contributing\n\nContributions are welcome! See the hyper\n[contribution guide](https://docs.hyper.io/contributing-to-hyper)\n\n## Testing\n\n```\n./scripts/test.sh\n```\n\nTo lint, check formatting, and run unit tests\n\n## License\n\nApache-2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper63%2Fhyper-adapter-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-sqlite/lists"}