wikiSearch
import { wikiSearch } from "https://raw.githubusercontent.com/el3um4s/DenoWiki/master/mod.ts";
Search for a term on Wikipedia and return the corresponding pages (max 500) Options can be used to customize parameters: language (default "en") srsearch: term to search (default "Hello World") srlimit: how many total pages to return (default 500) srprop: which pieces of information to get (default "size|wordcount|timestamp|snippet")
const wikiJSON = await wiki.wikiSearch( { language: en, srsearch: "hello world", srlimit: 5 } );