Package Exports
- fixai
- fixai/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fixai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.