fixai
v1.0.0
Published
A simple NPM package that leverages ChatGPT 4 (free) for automatic error correction in your code, without needing any API tokens.
Downloads
84
Maintainers
Readme
FixAI 🚀
FixAI is a lightweight NPM library that automatically fixes code errors by leveraging the power of ChatGPT-4, completely free and without the need for an API token.
📋 Table of Contents
Features ✨
- No API key required: Get started immediately without needing to set up an OpenAI token.
- Free access to GPT-4: Utilize OpenAI's powerful GPT-4 model for code correction.
- Simple setup: Just add a single line to your project, and you're ready to start fixing errors.
Installation 💻
You can install FixAI using your favorite package manager:
📦 NPM
npm install fixai
📦 Yarn
yarn add fixai
📦 Bun
bun add fixai
Usage 🛠️
Add FixAI to your project by requiring it:
require("fixai");
const a = JSON.parse("{invalidJson}");
console.log(a);
In this example, FixAI will analyze the provided code, detect the issue, and correct it.
How it works 🔍
FixAI sends your code to ChatGPT-4 for analysis and returns a corrected version. No API key is needed, so there's no complex setup or additional costs.
License 📄
This project is licensed under the MIT License.