@violentmonkey/types
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@violentmonkey/types

NPM License Downloads

Type declaration for GM_* APIs in Violentmonkey.

The APIs should be almost the same as those in Tampermonkey, so @types/tampermonkey should also work.

Installation

$ npm i @violentmonkey/types

Add @violentmonkey/types to a .d.ts file.

For example, create src/vm.d.ts with the following content:

import '@violentmonkey/types';

Make sure the .d.ts file is included in your tsconfig.json.

Package Sidebar

Install

npm i @violentmonkey/types

Weekly Downloads

200

Version

0.2.1

License

ISC

Unpacked Size

23 kB

Total Files

3

Last publish

Collaborators

  • gera2ld
  • vm-dev