Socket
Socket
Sign inDemoInstall

gotmw

Package Overview
Dependencies
5
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gotmw

MediaWiki client using Got.js


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

gotmw.js

Node.js MediaWiki client on top of Got.js and many others.

Try our wiki-agent to see how it works.

# git clone to local
cd gotmw
npm install
node sample/wiki-agent.js

Here is a quick demo:

wiki agent demo

By default, all examples is load from file sample/action-examples.json. You could prepare your own examples and store it in your local. Then using the command loadexamples to load your own examples.

Here is a simple query action to wikipedia.org:

{
    "description":"Example to show how to get a login token",
    "action": "query",
    "meta": "tokens",
    "type": "login"
},

Keywords

FAQs

Last updated on 16 Sep 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc