开发者

A javascript function to format javascript code

开发者 https://www.devze.com 2022-12-21 15:44 出处:网络
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

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

精彩评论

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