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?

2
  • Do you care about pricing? how about server-side (ie Node.js) or client side (ie browser)? Aug 11, 2014 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, 2014 at 18:45

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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