fetch-wikipedia-page-revision
Fetch a revision of a Wikipedia page as mobile HTML.
Installing
npm install fetch-wikipedia-page-revision
Usage
const fetchPageRevision = const slug = 'Barack_Obama'const revId = 792351024
The Promise will resolve with a string of HTML.
Contributing
If you have a question or have difficulties using fetch-wikipedia-page-revision
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.