wp-lib-extra
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

wp-lib-extra

The source code and TypeScript definitions for ja:MediaWiki:Gadget-WpLibExtra.js.

This package is distributed for the purposes of providing developers with a development environment to create Wikipedia gadgets/user scripts using this library as a module. (Note that you cannot use the library as a back-end module because it is a front-end program.)

For the functionalities of this library, see the API documentation.

Usage

To use the type definitions of the library, run:

npm i -D wp-lib-extra

and edit your tsconfig.json so that it includes:

"include": [
	"./node_modules/wp-lib-extra/types"
]

Then, the WpLibExtra interface should be available globally: A sample image of referencing the interface named "WpLibExtra".

/wp-lib-extra/

    Package Sidebar

    Install

    npm i wp-lib-extra

    Weekly Downloads

    2

    Version

    1.2.3

    License

    CC-BY-SA-4.0

    Unpacked Size

    241 kB

    Total Files

    11

    Last publish

    Collaborators

    • dr4goniez