A Khan Academy internal API client and wrapper for Node.js and the browser.
Quick links
npm i @bhavjit/khan-apiyarn add @bhavjit/khan-apiimport { Client } from '@bhavjit/khan-api'
const client = new Client()const { Client } = require('@bhavjit/khan-api')
const client = new Client()<script type="module">
import { Client } from 'https://esm.run/@bhavjit/khan-api'
const client = new Client()
</script><script src="https://cdn.jsdelivr.net/npm/@bhavjit/khan-api"></script>
<script>
const client = new KhanAPI.Client()
</script>See the examples directory for more.