1.0.4 • Published 6 months ago

even-odd-ai v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

even-odd-ai

A simple NPM package that uses OpenAI's GPT-4o to determine if a number is odd or even.

Installation

npm install even-odd-ai

Environment Setup

Create a .env file in your project root and add your OpenAI API key:

OPENAI_API_KEY=your_api_key_here

Usage

const { isOdd } = require('even-odd-ai');

console.log(isOdd(1)); // true
console.log(isOdd(2)); // false
1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago