A Data port adapter that uses DnDB in the hyper service framework
Deprecation Notice: Besides not being able to support the hyper data api, DnDB and it's influence,
NeDB, are both not actively maintained. We are no longer maintaining this adapter. Check out the PouchDB Data Adapter for an alternative "local" hyper adapter
dndb is a NoSQL embeddable database built for deno
import { default as dndb } from "https://x.nest.land/hyper-adapter-dndb@1.0.0/mod.js";
export default {
app: opine,
adapter: [
{
port: "data",
plugins: [dndb({ dir: "/tmp" })],
},
],
};This is a Deno module available to import from nest.land
deps.js
export { default as dndb } from "https://x.nest.land/hyper-adapter-dndb@0.0.2/mod.js";- Create a
DnDBdatastore - Remove a
DnDBdatastore - Create a document in a
DnDBdatastore - Retrieve a document in a
DnDBdatastore - Update a document in a
DnDBdatastore - Remove a document from a
DnDBdatastore - List documents in a
DnDBdatastore - Query documents in a
DnDBdatastore - Index documents in a
DnDBdatastore - Bulk create documents in a
DnDBdatastore
This adapter fully implements the Data port and can be used as the hyper Data 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