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! ❀️

Sentry blog image

Identify what makes your TTFB high so you can fix it

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

Read more

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay