comment-counter-ast Install npm install comment-counter-ast --save Usage var counter = require('comment-counter-ast');var numberOfComments = counter('./app.js'); Contributing To run the tests please run npm test