codestats 0.6.0

A CLI tool for analyzing code statistics across different programming languages
1
2
3
4
5
6
7
8
// expect: total=8 code=3 comment=3 blank=2 shebang=0
// simple javascript fixture

const x = 1;
/* mid-comment */
const y = x + 2;

function greet(name) { return 'hi ' + name; }