tpmjs/packages/tools/emoji-magic
Ajax Davis 5c9f1a1d0a chore: update dependencies with compatibility fixes
- 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.
2026-01-09 22:49:41 +10:00
..
src fix(emoji-magic): add defensive checks for missing required parameters 2025-12-05 00:51:24 +10:00
CHANGELOG.md chore: release emoji-magic v0.2.0 and create-basic-tools v1.0.4 2025-12-05 00:10:18 +10:00
package.json chore: update dependencies with compatibility fixes 2026-01-09 22:49:41 +10:00
README.md chore: release emoji-magic v0.2.0 and create-basic-tools v1.0.4 2025-12-05 00:10:18 +10:00
tsconfig.json chore: release emoji-magic v0.2.0 and create-basic-tools v1.0.4 2025-12-05 00:10:18 +10:00

@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