Programmer Burke
Web 2.0 programming using Java, Javascript, HTML, CSS, AJAX, MySQL and Struts.
Thursday, December 29, 2016
Quick Tip - Count lines
Here's a command to get the count of js lines in a node project:
find . -name '*.js' ! -path '*node_module*' | xargs wc -l
The -path part is to exclude the node_modules folders so you don't count 3rd part libs.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment