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)

Sentry image

See why 4M developers consider Sentry, โ€œnot bad.โ€

Fixing code doesnโ€™t have to be the worst part of your day. Learn how Sentry can help.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay