{"library":"lint-target-blank","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript","grunt","lint","target","_blank","noopener","noreferrer","html"],"last_verified":"Fri May 01","install":[{"cmd":"npm install lint-target-blank","imports":["const LintTargetBlank = require('lint-target-blank');","const lintTargetBlank = new LintTargetBlank({});","const errors = lintTargetBlank.lint(htmlString);"]},{"cmd":"yarn add lint-target-blank","imports":[]},{"cmd":"pnpm add lint-target-blank","imports":[]}],"homepage":null,"github":"https://github.com/chilliwilly77/lint-target-blank","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lint-target-blank","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}