1

Does anyone know of a javascript library that will take a chunk of javascript source and format it according to some set of rules. I can of course do it in my editor but I would like to be able to automate it as part of a build process.

2
  • 2
    Your build process is in Javascript? What? Commented Feb 24, 2010 at 14:40
  • So, why do you need this? I guess you could try "Counting" parenthesis and curly braces, but... honestly, why? Commented Feb 24, 2010 at 17:08

1 Answer 1

1

Not in js, but maybe it could help:

(online and python version)

Sign up to request clarification or add additional context in comments.

1 Comment

There is a JS Version and actually I found it some time ago, Thanks :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.