Helper library for working with anki's apkg files.
Install through npm
npm install anki.js
in your js file include through
var anki =
The api is now a mapping on the sqlite database that is the core of an APKG package.
To read the cards/notes/decks etc, it is expected that the user figures out a way to open, download or store the file into a Buffer that can be fed to the anki.read function.
openedFile is expected to be a file that is loaded into a Buffer returns an Anki object
returns all decks available to this exported file
TODO: still needs to be able to export different decks in one go..