ts-done-yet

how far is your migration to typescript?

Usage no npm install needed!

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

README

ts-done-yet

How far is your typescript migration?

usage

cli

npm i -g ts-done-yet
ts-done-yet ./my-project/src

code

import { tsDoneYet, percentage } from 'ts-done-yet'
;(async function () {
  const { ts, all } = await tsDoneYet('./my-project/src')
  const filesPercentage = percentage(ts.files, all.files)
  const linesPercentage = percentage(ts.lines, all.lines)
})()

why

When incrementally adopting typescript it's important to keep track of your progress.

Also, do NOT use any.