Installation
Node.js
- npm
- Yarn
npm i @bhavjit/khan-api
yarn add @bhavjit/khan-api
Browser
- Module
- Script
<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>