Might be useful if you're making several mastodon bots, or want to automate the bot installation process for people.
Command line usage
$ npm install -g mastodon-register-app$ mastodon-register-app server.example "my app's name"app-registration.json written$ cat app-registration.json
Library usage
$ npm install --save mastodon-register-app
const register =