canvas.ts
v0.2.9
Published
A node.js canvas client
Downloads
39
Maintainers
Readme
Canvas.ts
NOTE: Canvas.ts is still in early development and is not production ready. Features are missing and bugs will occur.
Documentation
Sample application
const { Client } = require('canvas.ts')
const client = new Client()
// when client connects to Canvas
client.on('connect', () => {
console.log(`Logged into ${client.domain} as ${client.user.name}, Enrolled in ${client.courses.size} courses.`)
})
client.connect('auth', 'domain')