@super-anki/anki-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Anki SDK

This package allows to communicate with Anki cars via Bluetooth.

Installation

npm install @super-anki/anki-sdk

Usage

import { CarStore } from "@super-anki/anki-sdk"

const store = CarStore.getInstance()
store.onOnline((car) => {
    // Car is available for connexion
})
store.onOffline((car) => {
    // Connexion lost with the car (battery died, or power button pressed)
})

Readme

Keywords

Package Sidebar

Install

npm i @super-anki/anki-sdk

Weekly Downloads

7

Version

1.1.0

License

MIT

Unpacked Size

293 kB

Total Files

53

Last publish

Collaborators

  • vtalbot