开发者

A javascript function to format javascript code

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.


Not in js, but maybe it could help:

  • http://jsbeautifier.org/

(online and python version)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜