Anki apkg export as a microservice.
$ git clone https://github.com/fpapado/micro-anki.git
$ cd ankimic
$ npm start
{
"cards": [
{ "front": "some word",
"back": "translation"
}
],
"deckName": "somename"
}
MIT © Fotis Papadogeorgopoulos