A small library to convert CSV files to APKG files.
This project is part of 2anki.net and uses the following dependencies:
Make sure these projects are available one level above this project:
git clone https://github.com/2anki/2anki.net ../server
git clone https://github.com/2anki/create_deck ../create_deck
npm i @2anki/csv-to-apkg
This project was developed using TDD, so checkout the tests for examples on expected usage.
csv-to-apkg
reads your comma delimited data. It takes the first column and treats it as the front of the card. The remaining columns are the back of the card.
Cloze deletion are not supported.
Unless otherwise specified in the source:
The code is licensed under the MIT Copyright (c) 2023, Alexander Alemayhu.