poop-ascii-art
Version:
If you feel your project is a piece of 💩, this is the package for you! 💩
53 lines (34 loc) • 937 B
Markdown
/\*
一個有趣的 ASCII poop 輸出工具,適用於瀏覽器與 Node.js,讓你的 console 充滿歡樂!
```bash
npm install poop-ascii-art
```
```ts
import poopArt, { poopArtWithMessage, poopArtCustom } from "poop-ascii-art"
// 基本用法
poopArt()
// 帶自訂訊息
poopArtWithMessage("Debug successful!")
// 不同顏色
poopArtCustom("brown") // 預設棕色
poopArtCustom("green") // 綠色
poopArtCustom("rainbow") // 彩虹
```
- `poopArt()` - 基本 poop ASCII 藝術字
- `poopArtWithMessage(message?: string)` - 帶自訂訊息的 poop
- `poopArtCustom(color?: 'brown' | 'green' | 'rainbow')` - 自訂顏色的 poop
- 🎨 ASCII 藝術字
- 💩 Emoji 整合
- ✦ 支援多種顏色
- 📱 支援瀏覽器與 Node.js
- 🚀 零相依
MIT
歡迎 PR!如有重大更動請先開 issue 討論。
\*/