magister-authcode
v0.0.1
Published
Fetches an up-to-date auth code for Magister
Downloads
3
Readme
magister-authcode
Fetches an up-to-date auth code for Magister.
Can be used as a drop-in replacement for (@magisterjs/dynamic-authcode)[https://github.com/simplyGits/magisterjs-dynamic-authcode]. It fetches the auth code from this Gist, but you can optionally pass an alternative Gist.
Installation
npm install --save magister-authcode
Usage
const getAuthCode = require('magister-authcode');
// ...
const authCode = await getAuthCode();