
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
@nomyx-ai/ai-node-debugger
Advanced tools
AI Node Debugger: An intelligent, AI-powered exception handler for Node.js that provides real-time, context-aware error analysis and debugging suggestions, enhancing developer productivity and code quality.
npm install @nomyx-ai/ai-node-debugger
Basic usage:
const { configure } = require('@nomyx-ai/ai-node-debugger');
configure({
aiProvider: 'openai',
apiKey: 'your-api-key-here'
});
// Your application code here
Advanced configuration:
const { configure } = require('@nomyx-ai/ai-node-debugger');
configure({
aiProvider: 'azure',
apiKey: 'your-azure-api-key-here',
maxTokens: 2000,
temperature: 0.7,
outputFormat: 'json',
rateLimitPerMinute: 5,
callback: (result) => {
// Custom handling of AI analysis result
console.log(JSON.stringify(result, null, 2));
}
});
// Your application code here
Option | Type | Default | Description |
---|---|---|---|
aiProvider | string | 'openai' | AI provider to use ('openai' or 'azure') |
apiKey | string | '' | API key for the chosen AI provider |
maxTokens | number | 1500 | Maximum number of tokens to generate |
temperature | number | 0.7 | Sampling temperature for AI responses |
outputFormat | string | 'console' | Output format ('console', 'json', or 'callback') |
rateLimitPerMinute | number | 10 | Maximum number of API calls per minute |
callback | function | undefined | Custom callback function for handling AI analysis results |
The AI-powered error analysis provides the following information:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
FAQs
AI-powered exception handler for Node.js applications
We found that @nomyx-ai/ai-node-debugger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.