ts-meter

Detects the ratio of TypeScript/JavaScript code in a directory

Usage no npm install needed!

<script type="module">
  import tsMeter from 'https://cdn.skypack.dev/ts-meter';
</script>

README

ts-meter

Count the rate of TypeScriptification in your code!

$ npm install -g ts-meter

$ ts-meter --help
Usage: ts-meter [options] <directory>

Options:

  -f, --fast  Count files instead of lines of code
  -h, --help  output usage information

$ ts-meter ./src

  TypeScriptification rate is 35.97%