AspenDB is a database designed to capture the data from the apps and services you use like Spotify, Gmail, and more.
Made by the folks at Aspen
- Multiple apps in one database
- Store any JSON data
- Sync to Aspen Cloud or any CouchDB instance to make your data available anywhere
The fastest way to start using AspenDB for your own data is to use Aspen CLI
Install with NPM or Yarn
npm i @aspen.cloud/aspendb
yarn add @aspen.cloud/aspendb
You might also need to install
gcc for the some of the dependencies.
Import Aspen Local
;const aspendb = ;
Add data for your apps
await aspendbawait aspendbawait aspendb;await aspendb;
Get your data
await aspendball;// Return all documents in 'music'
or get all of your data
// aspendb.global gives you a reference to the underlying PouchDB instanceawait aspendbglobal;// Returns all documents from 'music' and 'my-notes'
Query your data
const trackQuery = selector: type: $eq: "tracks" ;await aspendb;// Returns tracks from your collection 'music'
- Written in Typescript
- PouchDB, under the hood, to handle syncing and querying.
- SQLite as the storage engine used locally.