Skip to content

fritzvd/anki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anki.js

Helper library for working with anki's apkg files.

Install

Install through npm

npm install anki.js

in your js file include through

var anki = require('anki.js')

API

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.

anki.read(openedFile)

openedFile is expected to be a file that is loaded into a Buffer returns an Anki object

anki.Anki.getDecks()

returns all decks available to this exported file

TODO: still needs to be able to export different decks in one go..

About

A helper for working with anki's apkg-files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published