- Update all packages to latest versions via pnpm update --latest - Downgrade Prisma 7 to 6 (v7 requires schema migration) - Downgrade Tailwind CSS 4 to 3 (v4 requires PostCSS migration) - Downgrade Storybook 10 to 8 (addons not available in v10) - Pin cheerio to 1.0.0-rc.12 via pnpm override (type exports changed) - Fix AI SDK tool definitions: parameters -> inputSchema - Fix cheerio types in extract-meta and table-extract tools - Add explicit type annotations to tool execute functions - Migrate biome config to v2.3.11 schema All type-checks, tests, and builds pass. |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
@tpmjs/emoji-magic
AI SDK tools for emoji conversion and mood detection. Make your text more expressive! ✨
Tools
textToEmoji
Convert text into emoji representations - perfect for making messages more expressive!
import { textToEmoji } from '@tpmjs/emoji-magic';
const result = await textToEmoji.execute({
text: "I love my cat and dog",
style: 'creative'
});
// Result: "I ❤️ my 🐱 and 🐶"
emojiMood
Detect the mood/sentiment and suggest appropriate emojis for the text.
import { emojiMood } from '@tpmjs/emoji-magic';
const result = await emojiMood.execute({
text: "This is amazing! I'm so excited!",
count: 3
});
// Returns: { mood: 'excited', suggestions: ['🎉', '🎊', '🥳'] }
Installation
npm install @tpmjs/emoji-magic
License
MIT