A browser side API client for the Canvas LMS from Instructure.
Using NPM:
npm install @artevelde-uas/canvas-lms-api
Using Yarn:
yarn add @artevelde-uas/canvas-lms-api
Example for getting the current user:
import canvasApi from '@artevelde-uas/canvas-lms-api';
canvasApi.get('/users/self').then(user => {
// do something with the user object
});