# JS API discussion

**URL:** <https://forums.ankiweb.net/t/js-api-discussion/44907>\
**Category:** Help\
**Created:** [May 17, 2024, 5:40am UTC](https://forums.ankiweb.net/t/js-api-discussion/44907 "2024-05-17T05:40:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Helge](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/helge/32/15818_2.png) [@Helge](https://forums.ankiweb.net/u/Helge)\
**Post date:** [May 17, 2024, 3:41pm UTC](https://forums.ankiweb.net/t/js-api-discussion/44907/2 "2024-05-17T15:41:51Z")

</div>

For my own project I wrote for the AnkiDroid JS API:

- TypeScript type definitions: [HelgeUtils/Anki.d.ts at main · silidev/HelgeUtils · GitHub](https://github.com/silidev/HelgeUtils/blob/main/Anki.d.ts)
- A wrapper for the API which does many things, including fixing bugs and checking types: [HelgeUtils/AnkiUtils.ts at main · silidev/HelgeUtils · GitHub](https://github.com/silidev/HelgeUtils/blob/main/AnkiUtils.ts) or compiled: [HelgeUtils/dist/AnkiUtils.js at main · silidev/HelgeUtils · GitHub](https://github.com/silidev/HelgeUtils/blob/main/dist/AnkiUtils.js)  
I offer no support whatsoever for this. Use at your own risk. I license it under the same license as AnkiDroid.

If you are interested in this, please write so here. Because as long as nobody is using this anyway, I will be pretty careless with breaking changes and probably forget to push my updates to GitHub.

---

_[View the full topic](https://forums.ankiweb.net/t/js-api-discussion/44907)._
