New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

header-inserter

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

header-inserter

Inserting header in your bundle JavaScript file for userscript

latest
Source
npmnpm
Version
1.0.31
Version published
Maintainers
1
Created
Source

Header Inserter

Inserting header in your bundle JavaScript file.

Usage

Installation

npm

npm install --save-dev header-inserter

pnpm

pnpm add -D header-inserter

Make Essential files

userscript like this;

{
  "name": "add badge for action link",
  "namespace": "https://github.com/casaub0n",
  "version": "0.1",
  "description": "add badge for action link",
  "author": "casaub0n",
  "match": "https://github.com/*/*/actions*",
  "grant": "none",
  "sameversion": true
}

package.json like this;

{
  "name": "your-project",
  "scripts": {
    "build": "tsx build.ts && header-inserter dist/index.js"
  },
  "devDependencies": {
    "header-inserter": "latest"
  }
}

Parser

I compared zod to validbot by after builded files.

  • validbot: 10314 bite
  • zod: 64964 bite

Keywords

userscript

FAQs

Package last updated on 08 Dec 2025

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