- Add download trend sparkline chart showing 30-day download history - Add bundle size component with minified/gzipped sizes via bundlephobia proxy - Add more install commands: yarn, bun, deno (in addition to npm, pnpm) - Change discovery keyword from "tpmjs-tool" to "tpmjs" across entire codebase - Update sync endpoints to use new keyword - Update all documentation and package.json files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 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