Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Javascript Beautifier [closed]

Tags:

javascript

c#

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.

like image 576
Chris Avatar asked Oct 19 '10 12:10

Chris


1 Answers

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

like image 101
Stefan Steiger Avatar answered Sep 23 '22 01:09

Stefan Steiger