lint-target-blank

JSON →
library 0.1.1 ·javascript
verified May 1, 2026

A lightweight linting tool for detecting the target="_blank" vulnerability in HTML anchor tags where missing rel="noopener noreferrer" allows the opened page to access the opener's window via window.opener. The package provides a simple API to parse HTML strings and return errors for insecure links. It is at version 0.1.1 with a minimal footprint and no dependencies. Compared to full-fledged HTML validators or linters like ESLint plugins, this is a focused, single-purpose module for quick checks during development or build processes.

total hits 9
actors 3 distinct systems
last hit 5d ago AhrefsBot
MetaBot
3
GPTBot
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore