ts-done-yet
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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.

Package Sidebar

Install

npm i ts-done-yet

Weekly Downloads

0

Version

0.1.4

License

WTFPL

Unpacked Size

13.7 kB

Total Files

17

Last publish

Collaborators

  • mattanddev