uppercase-ai
v1.1.0
Published
Transform your text to UPPERCASE with AI, because .toUpperCase() was just too easy.
Readme
🚀 Uppercase AI
Turn your boring lowercase text into SHOUTING UPPERCASE with the power of AI! 🤖🔊
What is this?
Uppercase AI is an npm package that uses OpenAI to transform any text into UPPERCASE. It also checks if your text is already yelling (i.e., in uppercase). Perfect for memes, announcements, or just feeling LOUD!
Features
- 🔥 Transforms any text to UPPERCASE using AI
- 🤔 Checks if your text is already in UPPERCASE
- 🦾 Powered by OpenAI's GPT-3.5-turbo
- 🥳 Fun, simple, and easy to use
Installation
npm install uppercase-aiUsage
import { createUppercaseAI } from "uppercase-ai";
const { uppercaseAI, isUppercaseAI } = createUppercaseAI("YOUR_OPENAI_API_KEY");
(async () => {
const shout = await uppercaseAI("hello world!");
console.log(shout); // "HELLO WORLD!"
const check = await isUppercaseAI("HELLO WORLD!");
console.log(check); // "yes"
})();Why use AI for UPPERCASE?
Because regular .toUpperCase() is too mainstream. Let the robots do the yelling for you! 🤖
API
createUppercaseAI(apiKey)
Returns an object with two async functions:
uppercaseAI(text)– Transforms text to UPPERCASEisUppercaseAI(text)– Checks if text is in UPPERCASE (returns "yes" or "no")
License
MIT
Made with 🤖 and a love for LOUD TEXT!
