{"repo":"kitschpatrol/yanki-connect","free":true,"listed":false,"github":"https://github.com/kitschpatrol/yanki-connect","clone":"git clone https://github.com/kitschpatrol/yanki-connect.git","description":"A fully-typed AnkiConnect API client.","language":"TypeScript","stars":58,"topics":["anki","anki-connect","api","client","flashcards","npm-package","spaced-repetition","yanki","ankiconnect"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"yanki-connect A fully-typed AnkiConnect API client. Overview Yanki Connect exists to streamline development of JavaScript and TypeScript applications that use Alex Yatskov's AnkiConnect add-on to interface with the Anki spaced repetition flashcard software. The library provides extensive type annotations for the AnkiConnect API, and includes a turn-key client implementation. The \"Y\" prefix in \"Yanki\" is in the \"Yet another\" naming tradition; a nod to Anki's robust and occasionally duplicative ecosystem of third-party tools. (Also, appropriately, Yankī are a variety of truant youth.) This library is used in the yanki CLI tool, which in turn powers the yanki-obsidian Obsidian plugin. Features - Action method organization + convenience methods \\ Instead of putting all 116 methods in a single namespace, action convenience methods are organized into the same groups used in the AnkiConnect documentation, to simplify auto-complete discoverability. - Low-level access through the provided invoke method \\ If you don't want to use the convenience methods, an invoke(action, params) method is also exposed on the YankiConnect class for direct interaction with the AnkiConnect API. - Inline documentation and full type annotations \\ The action method types are annotated with JSDoc-style comments to provide documentation and links in your IDE's auto-complete pop-over. - Errors from the API are thrown \\ Instead of returning an object with result and error keys, Yanki Connect's convenience metho","default_branch":null,"files":null,"tree":[],"storefront":"/r/kitschpatrol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kitschpatrol/yanki-connect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}