ts-done-yet
v0.1.4
Published
how far is your migration to typescript?
Downloads
1
Maintainers
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.