DEV Community

Badlesh Mishra
Badlesh Mishra

Posted on

🚀 Introducing AIO-Beautify!

A Simple File Beautifier for HTML, CSS, and JavaScript

Tired of messy code? 🎨 AIO-Beautify is here to save the day! Format your HTML, CSS, and JavaScript files effortlessly in a single command.

🎯 Why Use AIO-Beautify?

  • Easy to Use: Simple CLI commands for quick beautification.
  • Customizable: Supports various formatting options.
  • Lightweight: Does the job without bloat.
  • Cross-Platform: Works on Windows, macOS, and Linux.
  • Developer-Friendly: Built by a developer for developers. 💻

📦 Installation

To get started, install the package globally using npm:

npm install -g aio-beautify
Enter fullscreen mode Exit fullscreen mode

Note: This package requires Node.js to be installed on your system.
Download Node.js from https://nodejs.org/.

🔧 Usage

To beautify all files in a specific directory, follow these steps:

  1. Navigate to the directory where your files are located.
   cd path/to/your/directory
Enter fullscreen mode Exit fullscreen mode
  1. Run the following command to beautify all HTML, CSS, or JS files in that directory:
   beautify
Enter fullscreen mode Exit fullscreen mode

Explanation:

  • The command aio-beautify . will now beautify .html, .css, .js, and .php files in the current directory.
  • The .php files will also be beautified, including any embedded HTML code within them.

📘 Documentation

Find the full documentation and examples on GitHub:

👉 GitHub Repository

💡 Contribute
Have ideas or found a bug? Open an issue or create a pull request. Contributions are welcome! 🎉

📢 Spread the Word
If you love AIO-Beautify, give it a ⭐ on GitHub and share it with your friends and colleagues!

Happy coding! ❤️

Top comments (0)