Pretty Html
A package to convert your messy html to beautifull one
Pretty html is an opinionated Javascript package to lint html components/partials (angular components mainly) according to front-end guidelines used at @instabug.
Installation
npm (server-side)
npm install ibg-html-pretty
yarn
yarn add ibg-html-pretty
Quick Example
Node
;let lintedHtml = linter;
Before
hello world, hi hello people from long line road in wide scentence streat and much words town hello hello hello hello hello hello hello hello hello hello hello hello world!
After
hello world, hi hello people from long line road in wide scentence streat and much words town hello hello hello hello hello hello hello hello hello hello hello hello world!
Options
No options yet
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Author
Ahmed Bassell