Installation
Prerequisites
- Node.js >= 18
npm
npm install @fazelstudio/url-deep-trace
Optional Dependencies
For screenshot capture support, install a browser automation library:
npm install playwright
# or
npm install puppeteer
Quick Setup
import URLDeepTrace from '@fazelstudio/url-deep-trace';
const tracer = new URLDeepTrace({
maxHops: 20,
timeout: 15000,
enableDeepAnalysis: true,
enableThreatIntel: true,
enableMLClassification: true,
});
Development
# Clone the repository
git clone https://github.com/fazelllyyy/url-deep-trace.git
cd url-deep-trace
# Install dependencies
npm install
# Run tests
npm test
# Start the API server
npm run server