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

types-mediawiki

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

types-mediawiki

TypeScript definitions for MediaWiki JS interface

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
771
increased by45.2%
Maintainers
1
Weekly downloads
 
Created
Source

PRs Welcome

types-mediawiki

TypeScript definitions for MediaWiki JS interface.

This package covers the functions in the mw global object, as well a few jQuery plugins used in MediaWiki core. This is a work in progress.

Download stats

Usage

To use types from this package, run

npm i types-mediawiki

Edit your project's tsconfig.json file so that it includes

"types": [
  "./node_modules/types-mediawiki",
]

You should be all set! mw will be available in the global scope. There is no need to put any import statements in the TypeScript source files. This package includes @types/jquery as a dependency, so you don't need to install that separately.

If you find any errors or have suggestions for more specific typings, please open a PR or file an issue.


TODO:

  • Add doc comments for everything. Presently they are not included at all.
  • Add types for more jQuery plugins.

FAQs

Package last updated on 23 Dec 2020

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