1.1.0 • Published 6 months ago

apkg-reader v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

APKG Reader

JavaScript library for reading the APKG format.

What is an APKG file?

An APKG file is a custom deck of flashcards created for use in Anki, a flashcard-based studying program. It contains HTML data used for card presentation as well as text, images, and sounds. Users can create their own Anki flashcard decks or import others' by selecting the Create Deck or Get Shared buttons found in the app. Source

Usage

import { readDatabaseFrom, ZipHandler } from "apkg-reader.js";

const data =  new ZipHandler("path/to/apkg")
const db = await readDatabaseFrom(data);
1.1.0

6 months ago