1.0.4 • Published 7 months ago

even-odd-ai v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago