dukat

0.5.8-rc.4 • Public • Published

official JetBrains project GitHub license

Description

Converter of TypeScript definition files to Kotlin declarations

This requires JRE 1.6+ to run. It generates Kotlin files that are compatible with Kotlin 1.1+ (generated declarations are tested against latest stable compiler version)

How to install

The simplest way to use is install the latest version form npm:

npm install -g dukat

On a weekly basis we also deply a dev build which sums up what we currently have in master, so if you want to checkout the snapshot version, use dukat@next:

npm install -g dukat@next

Usage

dukat [<options>] <d.ts files>

where possible options include:

    -p  <qualifiedPackageName>      package name for the generated file (by default filename.d.ts renamed to filename.d.kt)
    -m  String                      use this value as @file:JsModule annotation value whenever such annotation occurs
    -d  <path>                      destination directory for files with converted declarations (by default declarations are generated in current directory)
    -v, -version                    print version

How to setup and build

  1. clone this project
# on Windows-based platforms set following: `git config core.autocrlf true`   
git clone <this project url>
  1. build
./gradlew build
  1. (optional) Run unit tests
./gradlew test -Pdukat.test.failure.always

see CHANGELOG

Useful links

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.8-rc.4685latest
0.5.8-rc.4-dev.2022102013next

Version History

VersionDownloads (Last 7 Days)Published
0.5.8-rc.4-dev.2022102013
0.5.8-rc.4-dev.202110011
0.5.8-rc.4-dev.202109150
0.5.8-rc.4685
0.5.8-rc.321
0.5.8-rc.21
0.5.8-rc.11
0.5.8-rc.02
0.5.7-dev.202010010
0.5.7-dev.202009301
0.5.7-dev.202009111
0.5.7-dev.202009081
0.5.7-dev.202008201
0.5.7-dev.202008111
0.5.76
0.5.61
0.5.51
0.5.40
0.5.31
0.5.21
0.5.11
0.5.00
0.5.0-dev.202005221
0.5.0-dev.202005121
0.0.280
0.0.270
0.0.261
0.0.252
0.0.242
0.0.231
0.0.220
0.0.210
0.0.201
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.133
0.0.121
0.0.110
0.0.101
0.0.90
0.0.80
0.0.70
0.0.60
0.0.51
0.0.41
0.0.30
0.0.22
0.0.10

Package Sidebar

Install

npm i dukat

Weekly Downloads

758

Version

0.5.8-rc.4

License

Apache-2.0

Unpacked Size

86.8 MB

Total Files

67

Last publish

Collaborators

  • kotlin