I am wondering if anyone knows of an open source c# library for beautifying javascript. I would like to make use of such a library within my asp net website to make debugging messy javascript easier.
There are currently many online websites for this (ie. http://jsbeautifier.org/) however I would like to have access to such a utility within c#, even if it is just a wrapper for communicating with an online API.
You can use jsbeautifylib.
http://jsbeautifylib.codeplex.com/
It's the file/folder you found :)
Also there is a C# port of js-beautify by Denis Ivanov here
And in the simplest of form, there is JSBeautify.cs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With