1.1.0 • Published 2 years ago
mdl-update-box v1.1.0
Installation
//npm
npm install mdl-update-box
//yarn
yarn add mdl-update-box
Prep work
- Create a new public GitHub Gist. (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new)
Example usage
const main = require('mdl-update-box');
const {
GIST_ID: gistId,
GH_TOKEN: githubToken,
USER: user,
TITLE: title
} = process.env;
main(gistId, githubToken, user, title);
Environment secrets
- GIST_ID: The ID portion from your gist url: https://gist.github.com/facalz/
c7ecf280a4fc2214a85cef64896e020f
- GH_TOKEN: The GitHub token generated above.
- USER: Your user in MyDramaList.
- TITLE: Title for gist (Optional).