
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@userscripters/generate-headers
Advanced tools
Author | Oleg Valter oleg.a.valter@gmail.com |
---|---|
Contributors | double beep https://github.com/double-beep |
Name | @userscripters/generate-headers |
Description | Userscript manager header generator |
License | GPL-3.0-or-later |
Version | 3.5.0 |
Installation instructions and usage examples can be found on the Stack Apps post.
generate-headers <greasemonkey|tampermonkey|violentmonkey>
Options:
--version Show version number [boolean]
--help Show help [boolean]
-c, --collapse When using `match all <template>` option value, col
lapses all *.stackexchange.com sites into one wildc
ard match [boolean] [default: true]
--ch, --custom-header Generates custom headers given a <name> and [value]
[string]
-d, --direct Directs headers content to `process.stdout`
[boolean] [default: false]
--du, --download-url URL for the @downloadURL header [string]
-e, --eol Sets the end-of-line character(s) (affects the chec
k for existing headers) [string] [default: "
"]
-h, --homepage Overrides homepage for @homepage header [string]
-i, --inject Adds @inject-into header for Violentmonkey, no-op o
therwise [string]
-g, --grant Generates @grant headers, can be repeated [array]
-l, --lint Lints the generated headers with ESLint
[boolean] [default: false]
--lf, --lint-fix Fixes lint issues found with ESLint (implies --lint
) [boolean] [default: false]
-m, --match Generates valid @match headers (repeatable) [array]
-n, --namespace Overrides namespace for @namespace header [string]
--nf, --noframes Adds @noframes header [boolean]
-o, --output Creates and populates a file with headers content
[string] [default: "./dist/headers.js"]
-p, --package Path to package.json to extract info from
[string] [default: "./package.json"]
-q, --require Generates valid @require headers (repeatable)
[array]
-r, --run Adds @run-at header (values missing in manager are
silently dropped) [string] [default: "start"]
-s, --spaces Number of spaces to indent header values with (tota
l is the longest name + this value)
[number] [default: 4]
-u, --update-url URL for the @updateURL header for Tampermonkey, no-
op otherwise [string]
-w, --whitelist Generates @connect headers (repeatable) [array]
-x, --exclude Generates @exclude[-match] headers (repeatable)
[array]
--pretty Prettifies outputted headers where possible
[boolean] [default: false]
Bug reports for the project should be submitted here.
Before adding a new one, please check if it hasn't been raised before.
FAQs
Userscript manager header generator
We found that @userscripters/generate-headers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.