| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A cache adapter for hyper
Welcome to the sqlite hyper adapter for the cache port, a cache allows you to store key,value pairs where the key is a unique string and the value is a JSON document. Using this simple pattern, you can store highly accessible data for lighting fast reading.
Add the cache adapter to your hyper config
import { default as sqlite } from 'https://x.nest.land/hyper-adapter-sqlite/mod.js'
export default {
app: opine,
adapter: [
{
port: 'cache',
plugins: [sqlite({ dir: '/tmp' })],
},
],
}This is a Deno module available to import from nest.land
deps.js
export { default as sqlite } from 'https://x.nest.land/hyper-adapter-sqlite/mod.js'This adapter fully implements the Cache port and can be used as the hyper Cache service adapter
See the full port here
Contributions are welcome! See the hyper contribution guide
./scripts/test.sh
To lint, check formatting, and run unit tests
Apache-2.0
| Back | FazBrowse Home | New Git URL |