linkaudit
v1.0.0
Published
Detect hardcoded URLs and enforce environment-based configuration
Maintainers
Readme
LinkAudit 🚨
Detect hardcoded URLs in your project and enforce environment-based configuration
🔹 What is LinkAudit?
LinkAudit is a lightweight CLI tool that scans your project files for hardcoded URLs and warns you to replace them with environment variables.
It’s perfect for React, Node.js, or any JavaScript/TypeScript project that wants to stay secure, clean, and production-ready.
💡 Features
- Scans all files inside your
src/folder by default - Detects
httpandhttpsURLs - Ignores URLs coming from
.envorimport.meta.env - Generates a report file
linkaudit-report.jsonin your project root - CLI friendly: works with
npxor globally installed
⚡ Installation
Option 1: Global Install
npm install -g linkaudit