4

The title says it all, I'm looking for a library or some piece of JavaScript code to beautify PHP code. (would be good if it could also tidy HTML or JavaScript but not necessarily)

Does anyone know such a library?

  • Do you care about pricing? how about server-side (ie Node.js) or client side (ie browser)? – Nick Wilde Aug 11 '14 at 18:42
  • @NickWilde I'm actually looking for a free tool (just a spare time project) and it should be useable on client side. (node.js library is okay as long as it is 100% JavaScript) – idmean Aug 11 '14 at 18:45
1

Since it seemed like there was no such library so I've written one myself. You can find it here:

https://github.com/idmean/nowClean

I've also written about it on my blog:

http://www.zujab.at/2014/09/nowclean-clean-your-code/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.