Metadata-Version: 2.4
Name: readystack-optout-signal-lint
Version: 0.1.7
Summary: Finds the ad and analytics code that keeps firing after a visitor’s browser has already sent Global Privacy Control. (bundled Node.js runtime)
Author-email: ReadyStack <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/optout-signal-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/optout-signal-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: privacy,gpc,ccpa,consent,analytics
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# Opt-Out Signal Lint for US State Privacy Laws

> Runs the same checker as the npm package `@readystack/optout-signal-lint` on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![Opt-Out Signal Lint for US State Privacy Laws — finds the line](https://getreadystack.com/img/promo/optout-signal-lint_demo.gif)

Finds the ad and analytics code that keeps firing after a visitor’s browser has already sent Global Privacy Control.

## Install

```
optout-signal-lint file
```

Node 18+. The same 20 rules as the VS Code extension, from a terminal or CI.

## Free

- Audits the file you have open — every line against all 20 rules, no key, no limit, no sign-up.
- `--rules` lists every rule

## With a licence ($29 once)

- Sweeps the whole workspace, writes the finding list to CSV, JSON or HTML, and returns a CI exit code so the same leak cannot merge twice.

```
@readystack/optout-signal-lint --dir ./templates --report html --out report.html
```

Osano, the nearest hosted consent platform, starts at $199/month.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "optout-signal-lint": { "command": "npx", "args": ["-y", "@readystack/optout-signal-lint", "--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: Opt-Out Signal Lint for US State Privacy Laws
  run: npx -y @readystack/optout-signal-lint --dir . --ci
```

(container: `docker run --rm -v "$PWD:/work" getreadystack/optout-signal-lint --dir /work --ci`)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://buy.polar.sh/polar_cl_gj151VTqWFpXoYSJLn1MtTGUJrDV3N8bEeFLH4cORhY)


<!-- global privacy control -->


## Install (PyPI)

```
pip install readystack-optout-signal-lint
optout-signal-lint --help
```
