Initialize aoinan to connect to a MediaWiki server
Before using
aoinan, you must initialize it with the server details of the MediaWiki instance you wish to query. This setup allows the library to locate the API endpoint used for retrieving raw page data.const aoinan = require('aoinan');
aoinan.init({
server: 'pathfinderwiki.com',
path: '/mediawiki',
cacheLocation: './tmp',
});