npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wikifox

v2.0.1

Published

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

Downloads

1

Readme

Wikifox JS v2

📃 Table Of Content

💫 What's new ?

  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!

| module | Description | Methods | type | | ---------------------------------- | --------------------------------------------------------------- | ------------------------------- | -------- | | Article | To get information about a specific article | getSummary, getContent, getHTML | class | | Media | To get media and files from a specific article | getThumbnail, getImages, getPDF | class | | Search | Search articles by title | getHTMLsearchArticleByTitle | object | | Validate | To check if article with the given title exist | checkIfExists | object | | Random | Get random articles, or Wikipedias | Articles, Language | object | | Today | Get today in History/ On this day from specific date | GetOnThisDay | object | | Languages | List of available Wikipedias and their name, language and code. | Codes, Search | object |

🛡️ 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 [email protected], Twitter @me_harrify or Discord harrify#0111