Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

wikifox

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikifox

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

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

  1. Moved from CommonJS to ES
  2. Improved Stability
  3. 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

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc