1.0.5 • Published 3 years ago

wikiarticle v1.0.5

Weekly downloads
25
License
ISC
Repository
-
Last release
3 years ago

WikiArticle

A package that let you read the article on Wikipedia.

Getting started

npm i WikiArticle

Docs

module

A main function of WikiArticle.

Parameter

- `Article Title`: Title of Article (Will fetch random article if it's not providing any title)
- `Languange`: Wikipedia Languange (Default: `en`)

Response

- `title` returns Article Name
- `result` returns Article result in Array
- `$` returns Cheerio's `$`

Example

const wikiarticle = require("wikiarticle");

wikiarticle("Batman", "en").then(res => {
	//Shut to Logs if Found
	console.log(res.result.join(" "));
})

Community

Any question or Doubt can join our Discord Server

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago