@interface-db/core
Version:
InterfaceDB's core local abstraction
30 lines (20 loc) • 850 B
Markdown
# @interface-db/core
InterfaceDB's core local abstraction.
[Documentation](https://interfacedb.com/docs) · [Source](https://github.com/InterfaceLDN/InterfaceDB)
Maintained by InterfaceDB, based on the Instant source. See LICENSE.md and NOTICE for attribution.
Welcome to [InterfaceDB’s](https://interfacedb.com) vanilla javascript SDK.
```javascript
db.subscribeQuery({ todos: {} }, (resp) => {
if (resp.error) {
renderError(resp.error.message);
return;
}
if (resp.data) {
render(resp.data); // wohoo!
}
});
```
# Get Started
Follow the [getting started in vanilla Javascript](https://www.interfacedb.com/docs/start-vanilla) tutorial to set up a live app in under 5 minutes!
# Questions?
If you have any questions, feel free to drop us a line on our [issue tracker](https://github.com/InterfaceLDN/InterfaceDB/issues)