Socket
Socket
Sign inDemoInstall

ts-conversion-progress

Package Overview
Dependencies
10
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ts-conversion-progress

![Image of CLI output of ts-conversion-progress library](https://i.imgur.com/1CGZETx.jpg)


Version published
Weekly downloads
19
increased by850%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

TypeScript Conversion Progress

Image of CLI output of ts-conversion-progress library

yarn add -D ts-conversion-progress

Add a script to your package.json

"scripts": {
  "ts-conversion-progress": "node node_modules/ts-conversion-progress src/"
}

The only required argument, src/ in the example, is the directory where your code is. It will recursively search that directory for js, jsx, ts, and tsx files and do the math...

Optionally you can add a second argument which can be a regex pattern to ignore files. For example

"scripts": {
  "ts-conversion-progress": "node node_modules/ts-conversion-progress src/ .+\.test.js$"
}

This will ignore all files that end with .test.js

FAQs

Last updated on 22 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc