@toil/gm-types
v1.0.4
Published
All-in-One GM API types (Greasemonkey, Tampermonkey, Violentmonkey and etc)
Downloads
93
Maintainers
Readme
GM API Types
All-in-One GM API types (Greasemonkey, Tampermonkey, Violentmonkey and etc)
Install
To install:
Bun:
bun install @toil/gm-typesNPM:
npm install @toil/gm-typesUsage
After installation add @toil/gm-types/v4 or/and @toil/gm-types/v3 to tsconfig.json
{
"compilerOptions": {
"types": ["@toil/gm-types/v3"]
//...
}
}Supported APIs
Currently, only these APIs are supported (with their GM. alternatives):
- GM_info
- GM_notification
- GM Storage (GM_getValue, GM_setValue and etc)
- GM_addStyle
- GM_xmlhttpRequest
- GM_getResourceURL
- GM_cookie
Supported Extensions
Supported userscript managers:
