{"_id":"@buucolors/buucolors","name":"@buucolors/buucolors","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@buucolors/buucolors","version":"1.0.0","description":"Zero-dependency console color library - Lightweight alternative to Chalk with pure JavaScript support","main":"index.js","scripts":{"test":"echo \"BuuColors package ready for use!\"","start":"node -e \"console.log('BuuColors library loaded successfully!'); const buuColors = require('./index.js'); console.log(buuColors.cmdGreen('✅ All colors working!'));\""},"keywords":["colors","console","terminal","chalk","ansi","rgb","gradient","styling","text","buucolors","zero-dependency","javascript"],"author":{"name":"HonneybuuModz","url":"https://www.npmjs.com/~honneybuu"},"license":"MIT","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public"},"_id":"@buucolors/buucolors@1.0.0","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-Sv1llB66qy5671pez6VuUb36mtqO/vwooiwcAKfrqGBX1AF13uoERfTKYeaml/GDC/WmJyRQhmwa5PIBnfIFOQ==","shasum":"bb1051bb0a9e00d40e4f762ee56dacacdb225f1e","tarball":"https://registry.npmjs.org/@buucolors/buucolors/-/buucolors-1.0.0.tgz","fileCount":6,"unpackedSize":33152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDxgEeM0raPNpi4aUNlN/s/ojuKtM6txdMQfo9WKTTGcwIhAMn/B9KkB6xKSdUDqa4hGQdkQu9pHaxtfnqMIZkUi8DB"}]},"_npmUser":{"name":"honneybuu","email":"honneybuu.modz@gmail.com"},"directories":{},"maintainers":[{"name":"honneybuu","email":"honneybuu.modz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buucolors_1.0.0_1762197665776_0.4944588646072203"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-03T19:21:05.669Z","1.0.0":"2025-11-03T19:21:05.962Z","modified":"2025-11-03T19:21:06.329Z"},"maintainers":[{"name":"honneybuu","email":"honneybuu.modz@gmail.com"}],"description":"Zero-dependency console color library - Lightweight alternative to Chalk with pure JavaScript support","keywords":["colors","console","terminal","chalk","ansi","rgb","gradient","styling","text","buucolors","zero-dependency","javascript"],"author":{"name":"HonneybuuModz","url":"https://www.npmjs.com/~honneybuu"},"license":"MIT","readme":"# 🌟 <span style=\"color: #8A2BE2; text-shadow: 0 0 10px #DA70D6;\">BuuColors</span> 🌟\n\n<div align=\"center\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/Version-V1.0.0-ff6b6b?style=for-the-badge&logo=tag&logoColor=white&labelColor=1a1a1a\">\n    <img alt=\"Version\" src=\"https://img.shields.io/badge/Version-V1.0.0-ff6b6b?style=for-the-badge&logo=tag&logoColor=white&labelColor=1a1a1a\">\n  </picture>\n\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/Colors-Library-8A2BE2?style=for-the-badge&logo=javascript&logoColor=white&labelColor=1a1a1a\">\n    <img alt=\"BuuColors\" src=\"https://img.shields.io/badge/Colors-Library-8A2BE2?style=for-the-badge&logo=javascript&logoColor=white&labelColor=1a1a1a\">\n  </picture>\n  \n  <a href=\"https://www.npmjs.com/~honneybuu\" target=\"_blank\">\n    <picture>\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/NPM-Package-DA70D6?style=for-the-badge&logo=npm&logoColor=white&labelColor=1a1a1a\">\n      <img alt=\"NPM Package\" src=\"https://img.shields.io/badge/NPM-Package-DA70D6?style=for-the-badge&logo=npm&logoColor=white&labelColor=1a1a1a\">\n    </picture>\n  </a>\n\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/License-MIT-9370DB?style=for-the-badge&labelColor=1a1a1a\">\n    <img alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-9370DB?style=for-the-badge&labelColor=1a1a1a\">\n  </picture>\n\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=white&labelColor=1a1a1a\">\n    <img alt=\"JavaScript Support\" src=\"https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=white&labelColor=1a1a1a\">\n  </picture>\n\n  <br><br>\n\n  <h2 style=\"color: #E6E6FA; text-shadow: 0 0 15px #8A2BE2;\">✨ Zero-Dependency Console Color Library ✨</h2>\n  <p style=\"color: #DDA0DD; font-size: 1.2em;\">Lightweight alternative to Chalk - Pure JavaScript</p>\n</div>\n\n---\n\n## 🚀 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Features</span>\n\n<div style=\"background: linear-gradient(135deg, #1a1a1a 0%, #2d1b45 100%); padding: 20px; border-radius: 15px; border: 2px solid #8A2BE2; box-shadow: 0 0 20px #8A2BE280;\">\n\n- 🚫 *Zero Dependencies* - No external dependencies\n- 🎯 *Pure JavaScript* - Works with CommonJS\n- ⚡ *High Performance* - Optimized with intelligent caching\n- 🌈 *Rich Color Support* - Supports named colors, RGB and gradients\n- 🎨 *40+ Quick Colors* - Pre-configured color combinations\n- 🔗 *Chainable API* - Intuitive method chaining\n- 🎪 *Text Effects* - Bold, Italic, Underline and more\n- 🌅 *Gradient Backgrounds* - Dynamic gradient backgrounds\n\n</div>\n\n## 📦 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Installation</span>\n\n```bash\n# Install via npm\nnpm install @buucolors/buucolors\n\n# Install via yarn  \nyarn add @buucolors/buucolors\n\n# Install via pnpm\npnpm add @buucolors/buucolors\n```\n\n## 💡 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Usage Example</span>\n\n```javascript\n// JavaScript Usage\nconst buuColors = require('@buucolors/buucolors');\nconst { quickColors, c1, c2, c3 } = require('@buucolors/buucolors/quick');\n\n// Basic colors\nconsole.log(buuColors.cmdRed('Red text'));\nconsole.log(buuColors.cmdGreen('Green text'));\n\n// Quick Colors\nconsole.log(c1('Purple styled text'));\nconsole.log(c2('Green styled text'));\n\n// Advanced styling\nconsole.log(buuColors.cmdYellow.bg_blue.bold('Complex styling'));\nconsole.log(buuColors.gradientCmd_red2purple('Gradient magic'));\n\n// Basic usage\nconsole.log(buuColors.cmdRed('Hello from 🎨BuuColors🌈!'));\nconsole.log(c1('Quick color styling'));\n```\n\n## 🎨 Basic Colors\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(buuColors.cmdRed('Red text'));\nconsole.log(buuColors.cmdGreen('Green text'));\nconsole.log(buuColors.cmdBlue('Blue text'));\nconsole.log(buuColors.cmdYellow('Yellow text'));\nconsole.log(buuColors.cmdMagenta('Magenta text'));\nconsole.log(buuColors.cmdCyan('Cyan text'));\nconsole.log(buuColors.cmdWhite('White text'));\nconsole.log(buuColors.cmdBlack('Black text'));\n```\n\n## ✨ Text Effects\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(buuColors.cmdRed.bold('Bold red text'));\nconsole.log(buuColors.cmdGreen.italic('Italic green text'));\nconsole.log(buuColors.cmdBlue.underline('Underlined blue text'));\nconsole.log(buuColors.cmdYellow.strikethrough('Strikethrough yellow text'));\nconsole.log(buuColors.cmdMagenta.dim('Dimmed magenta text'));\nconsole.log(buuColors.cmdCyan.inverse('Inverted cyan text'));\n```\n\n## 🌈 Background Colors\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(buuColors.cmdWhite.bg_red('White text on red background'));\nconsole.log(buuColors.cmdBlack.bg_yellow('Black text on yellow background'));\nconsole.log(buuColors.cmdRed.bg_white.bold('Bold red text on white background'));\n```\n\n## 🎯 RGB Colors\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\n// Direct RGB usage\nconsole.log(buuColors.cmdRgb(255, 100, 50, 'Custom RGB color'));\n\n// Chainable RGB\nconsole.log(buuColors.cmdRgb(100, 255, 200).bold('Bold custom RGB'));\nconsole.log(buuColors.cmdRgb(255, 0, 128).bg_black('RGB with background'));\n\n// RGB Backgrounds\nconsole.log(buuColors.cmdWhite.bgRgb(50, 100, 200, 'White text on RGB background'));\n```\n\n## 🌅 Gradients\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\n// Named color gradients\nconsole.log(buuColors.gradientCmd_red2blue('Red to blue gradient'));\nconsole.log(buuColors.gradientCmd_green2purple.bold('Bold green to purple'));\n\n// RGB gradients\nconsole.log(buuColors.gradientCmdRgb(255, 0, 0, 0, 0, 255, 'RGB gradient'));\n\n// Gradient backgrounds\nconsole.log(buuColors.cmdWhite.gradientBg_red2blue('White text on gradient background'));\nconsole.log(buuColors.cmdBlack.gradientBgRgb(255, 0, 0, 0, 255, 0, 'RGB gradient background'));\n```\n\n## 🎪 Quick Colors\n\nBuuColors includes 40 pre-configured Quick Colors for immediate use:\n\n```javascript\nconst { c1, c2, c3, c4, c5, quickColors } = require('@buucolors/buucolors/quick');\n\nconsole.log(c1('Purple text'));           // Purple\nconsole.log(c2('Green text'));            // Green  \nconsole.log(c3('Blue text'));             // Blue\nconsole.log(c4('Red text'));              // Red\nconsole.log(c5('Bold bright blue'));      // Bold bright blue\nconsole.log(c15('Gradient magic'));       // Magenta-purple gradient with blue-black background\nconsole.log(c25('Bright magenta on bright black'));\n\n// Use all Quick Colors\nObject.keys(quickColors).forEach(key => {\n    console.log(quickColors[key](`This is ${key}`));\n});\n```\n\n## 🔗 Method Chaining\n\nCombine multiple effects through method chaining:\n\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(\n    buuColors.cmdYellow\n        .bg_blue\n        .bold\n        .underline('Complex styled text')\n);\n\nconsole.log(\n    buuColors.cmdRgb(255, 100, 180)\n        .bg_black\n        .italic\n        .inverse('RGB with multiple effects')\n);\n```\n\n## 📋 Available Colors\n\n### Standard Colors\n- `cmdBlack`, `cmdRed`, `cmdGreen`, `cmdYellow`\n- `cmdBlue`, `cmdMagenta`, `cmdCyan`, `cmdWhite`\n- `cmdOrange`, `cmdLime`, `cmdPurple`, `cmdBrown`\n\n### Bright Colors\n- `cmdBrightBlack`, `cmdBrightRed`, `cmdBrightGreen`, `cmdBrightYellow`\n\n### Text Effects\n- `bold`, `dim`, `italic`, `underline`, `overline`\n- `inverse`, `hidden`, `strikethrough`, `reset`\n\n### Background Colors\nAll colors are available as backgrounds with the `bg_` prefix:\n- `bg_red`, `bg_green`, `bg_blue`, etc.\n- `bg_bright_red`, `bg_bright_green`, etc.\n\n### RGB Colors\n- `cmdRgb(r, g, b, text)` - Direct RGB text color with optional text\n- `cmdRgb(r, g, b).bold('text')` - Chainable RGB text color\n- `bgRgb(r, g, b, text)` - RGB background color\n\n### Gradient Colors\n#### Named Color Gradients (Text)\n- `gradientCmd_red2blue('text')` - Red to blue text gradient\n- `gradientCmd_green2purple('text')` - Green to purple text gradient  \n- `gradientCmd_blue2red('text')` - Blue to red text gradient\n- `gradientCmd_yellow2green('text')` - Yellow to green text gradient\n- `gradientCmd_magenta2cyan('text')` - Magenta to cyan text gradient\n- And many more color combinations...\n\n#### RGB Gradients (Text)\n- `gradientCmdRgb(r1, g1, b1, r2, g2, b2, 'text')` - Custom RGB text gradient\n\n#### Named Color Gradients (Background)\n- `gradientBg_red2blue('text')` - Red to blue background gradient\n- `gradientBg_green2purple('text')` - Green to purple background gradient\n- `gradientBg_blue2red('text')` - Blue to red background gradient\n- And many more background gradient combinations...\n\n#### RGB Gradients (Background)\n- `gradientBgRgb(r1, g1, b1, r2, g2, b2, 'text')` - Custom RGB background gradient\n\n## ⚡ Performance\n\nBuuColors is highly optimized for performance:\n\n- *Intelligent Caching*: Functions are cached for repeated use\n- *Lazy Loading*: Gradient methods are created only when needed\n- *Zero Dependencies*: No external libraries slow down the package\n- *Benchmark*: 1000 color operations in ~10ms\n\n```javascript\n// Performance Test\nconst start = Date.now();\nfor (let i = 0; i < 1000; i++) {\n    buuColors.cmdRed.bold.bg_white('Performance test');\n}\nconsole.log(`1000 operations: ${Date.now() - start}ms`);\n```\n\n##  <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Usage Tips</span>\n\nYou can use specific entry points for better organization:\n\n```javascript\n// Only Quick Colors\nconst { c1, c15, c25 } = require('@buucolors/buucolors/quick');\n\n// Main library for advanced features\nconst buuColors = require('@buucolors/buucolors');\n```\n\n## 📋 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Package Contents</span>\n\n- 📃 `index.js` - Main library file\n- 📃 `buuQuickColors.js` - Quick Colors module\n- 📁 `buuColors/` - Core functionality modules\n- 📖 `README.md` - This beautiful documentation\n- 📜 `package.json` - Package configuration\n\n## 🤝 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Contributing</span>\n\nWe welcome contributions! Feel free to:\n\n- 🐛 Report bugs\n- 💡 Suggest new features  \n- 🔧 Contribute improvements\n- 🌟 Rate and share the package\n\n## 📄 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">License</span>\n\n<div style=\"background: linear-gradient(135deg, #1a1a1a 0%, #2d1b45 100%); padding: 15px; border-radius: 10px; border-left: 4px solid #9370DB;\">\n\n**MIT License** - Free and Open Source\n\nThis project is licensed under the MIT License, which means you are free to:\n- ✅ *Use* - Use this library in personal and commercial projects\n- ✅ *Modify* - Change and customize the code to fit your needs  \n- ✅ *Distribute* - Share and redistribute the library\n- ✅ *Private Use* - Use in private projects without restrictions\n- ✅ *Commercial Use*- Use in commercial applications and products\n\nThe only requirement is to include the original copyright notice and license terms.\n\n</div>\n\n## 🌐 <span style=\"color: #BA55D3; text-shadow: 0 0 8px #DA70D6;\">Connect with Us</span>\n\n<div align=\"center\">\n  <a href=\"https://whatsapp.com/channel/0029VaCABrQ0AgWFWiCXq13W\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/WA_CHANNEL-25D366?style=for-the-badge&logo=whatsapp&logoColor=white&labelColor=1a1a1a\" alt=\"WhatsApp Channel\" />\n  </a>\n  \n  <a href=\"https://t.me/honneybuuclient\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/TG_CHANNEL-0088CC?style=for-the-badge&logo=telegram&logoColor=white&labelColor=1a1a1a\" alt=\"Telegram Channel\" />\n  </a>\n\n  <a href=\"https://www.instagram.com/honneybuu.modz\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/IG_ACCOUNT-E4405F?style=for-the-badge&logo=instagram&logoColor=white&labelColor=1a1a1a\" alt=\"Instagram Account\" />\n  </a>\n</div>\n\n---\n\n## 🔥 Examples\n\n### Simple Colored Text\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(buuColors.cmdRed('Error: Something went wrong!'));\nconsole.log(buuColors.cmdGreen('✓ Successfully completed'));\nconsole.log(buuColors.cmdYellow('⚠ Warning: Attention required'));\n```\n\n### Complex Styling Combinations\n```javascript\nconst buuColors = require('@buucolors/buucolors');\n\nconsole.log(\n    buuColors.cmdWhite\n        .bg_red\n        .bold\n        .underline('CRITICAL ERROR')\n);\n\nconsole.log(\n    buuColors.gradientCmd_green2blue\n        .bold\n        .bg_black('Gradient text with black background')\n);\n```\n\n### Quick Colors for Rapid Development\n```javascript\nconst { c1, c2, c3, c15, c25, c35 } = require('@buucolors/buucolors/quick');\n\nconsole.log(c1('Header Text'));\nconsole.log(c2('Success Message')); \nconsole.log(c3('Info Message'));\nconsole.log(c15('Special Gradient Effect'));\nconsole.log(c25('Highlighted Text'));\nconsole.log(c35('Another Gradient Effect'));\n```\n\n---\n\n<div align=\"center\">\n  <p style=\"color: #DDA0DD; font-size: 1.1em;\">\n    Made with 💜 by <strong style=\"color: #E6E6FA; text-shadow: 0 0 10px #8A2BE2;\">HonneybuuModz</strong>\n  </p>\n  \n  <p style=\"color: #BA55D3;\">\n    🌟 <em>If this project helped you, please consider giving it a star!</em> 🌟\n  </p>\n</div>\n\n<div align=\"center\">\n  <img src=\"https://img.shields.io/badge/Built_with-💜_and_🍁-8A2BE2?style=for-the-badge&labelColor=1a1a1a\" alt=\"Built with love and colors\" />\n</div>","readmeFilename":"README.md","_rev":"1-f2a8d4e3a576d5331e21c56cb1b636a5"}