npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-federal-preemption-tracker

v1.0.0

Published

n8n community node for Federal Preemption Risk Tracker - Monitor federal AI policy threats to state regulations like Colorado AI Act and California SB 1047

Readme

n8n-nodes-federal-preemption-tracker

n8n community node for Federal Preemption Risk Tracker - Monitor federal AI policy threats to state regulations like Colorado AI Act and California SB 1047.

n8n is a fair-code licensed workflow automation platform.

Features

  • Comprehensive federal monitoring: Executive Orders, DOJ actions, Federal Register, court cases
  • State-specific analysis: Colorado AI Act (CAIA), California SB 1047, Connecticut SB 2, Illinois HB 3773
  • Risk-scored events: 0-100 preemption risk scoring with actionable recommendations
  • RAG-optimized output: Pre-chunked content for AI agents and vector databases
  • Real-time alerts: Webhook notifications when critical risks detected

Operations

| Operation | Description | |-----------|-------------| | Comprehensive Scan | All federal sources - EOs, DOJ, courts, Federal Register | | Executive Orders | Presidential actions and AI policy directives | | Court Cases | Federal preemption litigation (CourtListener) | | DOJ Actions | Department of Justice enforcement and guidance | | Federal Register | Rules, proposed rules, agency notices | | State Conflicts | Analyze federal-state regulatory friction | | Risk Assessment Report | Full compliance risk report |

Installation

Community Node (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install
  3. Enter n8n-nodes-federal-preemption-tracker
  4. Accept the risks and click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-federal-preemption-tracker

Credentials

This node requires Apify API credentials:

  1. Create a free account at apify.com
  2. Go to Settings > Integrations to get your API token
  3. In n8n, create new credentials for "Apify API"
  4. Paste your token

Usage Examples

Basic Compliance Scan

{
  "searchMode": "comprehensive",
  "targetStates": ["CO", "CA"],
  "outputFormat": "agent_optimized",
  "riskScoreThreshold": 25,
  "maxResults": 100
}

Executive Order Monitoring

{
  "searchMode": "executiveOrders",
  "targetStates": ["CO"],
  "outputFormat": "detailed",
  "riskScoreThreshold": 50
}

Court Case Tracking

{
  "searchMode": "courtCases",
  "targetStates": ["CO", "CA", "CT"],
  "courtTypes": ["scotus", "appeals"],
  "outputFormat": "agent_optimized"
}

Output Schema

Each preemption event includes:

| Field | Type | Description | |-------|------|-------------| | id | string | Unique event identifier | | type | enum | executive_order, court_case, doj_action, etc. | | title | string | Official title or case name | | summary | string | Plain-language summary | | riskScore | integer | Preemption risk score (0-100) | | riskLevel | enum | low, medium, high, critical | | affectedStates | array | State codes impacted | | recommendedActions | array | Compliance recommendations | | ragChunks | array | RAG-optimized content chunks | | sourceUrl | string | Direct URL to source |

Workflow Patterns

Daily Compliance Monitor

Schedule Trigger → Federal Preemption Tracker → Filter (riskScore >= 60) → Slack Alert

RAG Pipeline Integration

Federal Preemption Tracker → Code Node (extract ragChunks) → Pinecone/Qdrant Upsert

Critical Risk Webhook

Set webhookUrl in the node to receive POST notifications:

{
  "actorId": "ai_solutionist/federal-preemption-tracker",
  "totalEvents": 42,
  "criticalRisks": 3,
  "topCritical": [...]
}

Related Actors

Support

Author: Jason Pellerin - AI Solutionist
Website: jasonpellerin.com
Email: [email protected]

Part of the HyperCognate AI Compliance Suite - Infrastructure of Trust for AI Governance.

License

MIT