๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’

wikifox

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
w

wikifox

A powerful, restful and light-weight module that connect WikiPedia api

2.0.1
latest
75

Supply Chain Security

100

Vulnerability

98

Quality

76

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Dependencies have 2 high alerts.

Socket optimized override available and High CVE

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Issues
0

Wikifox JS v2

WikifoxJS is a light-weight, small, powerful and restful Javascript library which connects to Wikipedia API. This library can be used to get content from wikipedia. Real life use case ๐Ÿ‘‰ Wikifox

npm version npm downloads Standard - JavaScript Style Guide

๐Ÿ“ƒ Table Of Content

๐Ÿ’ซ What's new ? npm version

  • Moved from CommonJS to ES
  • Improved Stability
  • New features
    • Full page HTML
    • Improved Results
    • Validation

โœจ Features

Wikifox has a bunch of features to access data from wikipedia. Wikifox is capable of doing the following things with ease:

  • ๐ŸŽƒ Option to select specific wikipedia or language. Refer Wikipedia Editions or Language
  • โœ๏ธ Brief Summary about specific article. Not too small, but not too big!
  • ๐Ÿ“ฐ Full Summary about the article includes all information in the form of text from the article
  • ๐Ÿง‘โ€๐Ÿ’ป Full Page data as HTML format. It gives you all the data in HTML format
  • ๐ŸŽฒ Get random Random article
  • ๐Ÿ–ผ๏ธ Get the main picture/Thumbnail from a specific article
  • ๐Ÿ“ท All the images on an article. It gives all the images used in a specific article
  • ๐Ÿ“‚ Full Article PDF. Provides link to download full articl ad PDF. Supports direct downloading.
  • ๐Ÿชด Today in history give you information about the specific date
  • ๐Ÿ” Search article by it's title. Also gives suggession and small snippet
  • ๐Ÿ”ฌ Validate Article. Can be used to check if there is an article with the id or title
  • ๐Ÿ“ƒ List of available wikipedia

โฌ†๏ธ Upcoming features

  • Information about edits and revision
  • User information
  • ๐ŸŒŸ WIKIFOX.PY moduule for python ! ๐ŸŒŸ
  • And much more!

โš’๏ธ Installation

You can easily install wikifox into your project with npm by pasting the following command in your terminal!

npm install wikifox

โš™๏ธ Usage

In version 2, you can import modules separately according to your need. The available modules are as below. Just click it to see the detailed documentation on how to use it!

moduleDescriptionMethodstype
ArticleTo get information about a specific articlegetSummary, getContent, getHTMLclass
MediaTo get media and files from a specific articlegetThumbnail, getImages, getPDFclass
SearchSearch articles by titlegetHTMLsearchArticleByTitleobject
ValidateTo check if article with the given title existcheckIfExistsobject
RandomGet random articles, or WikipediasArticles, Languageobject
TodayGet today in History/ On this day from specific dateGetOnThisDayobject
LanguagesList of available Wikipedias and their name, language and code.Codes, Searchobject

๐Ÿ›ก๏ธ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ’ช Support

Please consider โญ Starring this repo or Buy me a coffee if you can โ˜•. If you have any questions or feedback, feel free to contact me at harrytom2606@gmail.com, Twitter @me_harrify or Discord harrify#0111

Made with โค ยท ๐Ÿง‘ by Harry ยท ๐Ÿ’ช Powered by ๐ŸŒ Wikipedia

FAQs

Package last updated on 10 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts