Example. Counts issues and merge requests for Gjs, with Gjs.
Get a GitLab token and run:
# Ubuntu 17.10
sudo apt update && sudo apt install gir1.2-glib-2.0 gir1.2-soup-2.4 git gjs npm
git clone https://github.com/makepost/grest
cd grest
GITLAB_TOKEN=... PORT=3000 npm start
Also install Yarn. Get started:
# install development dependencies
yarn
# lint all JS files
yarn format
# run tests and see coverage
yarn test && xdg-open coverage/index.html
VS Code will highlight mistakes and provide autocomplete, as long as you follow JSDoc @param and @type.