A package that downloads TypeScript annotations from @types/*-group of packages and converts them to Kotlin.


2,415132.0.02 years ago4 years agoMinified + gzip package size for @jetbrains/ts2kt-automator in KB



This package wraps ts2kt, a converter of TypeScript definition files to Kotlin declarations (stubs). It downloads the specified package typings from "@types/%packagename%" and runs ts2kt on them.


npm i @jetbrains/ts2kt-automator --save


ts2kt-automator --dest=types jquery


  • dest is the path to the folder where generated Kotlin files should be placed. Directory with the name of the package will be created inside.
  • packageName is the name of the package to download and convert. A version number can be specified after "@" as follows: --packageName=jquery@2. If the version is not specified, the version listed in your project's package.json will be used. If no such package is listed in package.json, "latest" will be used.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.