Closed sarangjo closed 5 years ago
This has already been implemented. Sorry if it was not documented well, I will update the docs.
wiki()
.page('Batman')
.then(page => page.content())
.then(content => JSON.stringify(content, null, 3))
.then(console.log);
Ah, my apologies. Thanks for the prompt reply!
This is an important functionality for my use-case, so it would be good to add the ability to retrieve more detailed information about the page.