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/[email protected]/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/[email protected]/mod.js";
- Create a
DnDB
datastore - Remove a
DnDB
datastore - Create a document in a
DnDB
datastore - Retrieve a document in a
DnDB
datastore - Update a document in a
DnDB
datastore - Remove a document from a
DnDB
datastore - List documents in a
DnDB
datastore - Query documents in a
DnDB
datastore - Index documents in a
DnDB
datastore - Bulk create documents in a
DnDB
datastore
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