Kotlin / Dukat
Converter of <any kind of declarations> to Kotlin external declarations
Stars: ✭ 327
Programming Languages
typescript
32286 projects
kotlin
9241 projects
Labels
Projects that are alternatives of or similar to Dukat
HEIC-to-JPG-right-click-converter
HEIC to JPG converter with one click integration into Mac OS X
Stars: ✭ 19 (-94.19%)
Mutual labels: converter
filter
⏳ Provide filtering, sanitizing, and conversion of Golang data. 提供对Golang数据的过滤,净化,转换。
Stars: ✭ 53 (-83.79%)
Mutual labels: converter
Modfy.video
A video transcoder and converter built using Web Assembly and FFMPEG to transcode and convert videos right in your browser while protecting your privacy
Stars: ✭ 283 (-13.46%)
Mutual labels: converter
currency-converter
💰 Easily convert between 32 currencies
Stars: ✭ 16 (-95.11%)
Mutual labels: converter
ebook-converter
Commandline tool for converting between several e-books formats, based on Calibre project.
Stars: ✭ 21 (-93.58%)
Mutual labels: converter
goverter
Generate type-safe Go converters by simply defining an interface
Stars: ✭ 100 (-69.42%)
Mutual labels: converter
converter
Immutable PHP currency converter that's data-agnostic.
Stars: ✭ 77 (-76.45%)
Mutual labels: converter
cti-stix-elevator
OASIS Cyber Threat Intelligence (CTI) TC Open Repository: Convert STIX 1.2 XML to STIX 2.x JSON
Stars: ✭ 42 (-87.16%)
Mutual labels: converter
csv-to-sqlite
A desktop app to convert CSV files to SQLite databases!
Stars: ✭ 68 (-79.2%)
Mutual labels: converter
FigmaConvertXib
FigmaConvertXib is a tool for exporting design elements from figma.com and generating files to a projects iOS .xib / Android .xml
Stars: ✭ 111 (-66.06%)
Mutual labels: converter
Poiji
🍬 A tiny library converting excel rows to a list of Java objects based on Apache POI
Stars: ✭ 255 (-22.02%)
Mutual labels: converter
sublime-atomizr
Convert Sublime Text completions into Atom (or Visual Studio Code) snippets, and vice versa.
Stars: ✭ 12 (-96.33%)
Mutual labels: converter
Length.js
📏 JavaScript library for length units conversion.
Stars: ✭ 292 (-10.7%)
Mutual labels: converter
num2fawords
Takes a number and converts it to Persian word form
Stars: ✭ 27 (-91.74%)
Mutual labels: converter
Ts2kt
ts2kt is officially deprecated, please use https://github.com/Kotlin/dukat instead. // Converter of TypeScript definition files to Kotlin external declarations
Stars: ✭ 327 (+0%)
Mutual labels: converter
React Color Extractor
A React component which extracts colors from an image
Stars: ✭ 314 (-3.98%)
Mutual labels: converter
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 [email protected]
:
npm install -g [email protected]
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
- clone this project
# on Windows-based platforms set following: `git config core.autocrlf true`
git clone <this project url>
- build
./gradlew build
- (optional) Run unit tests
./gradlew test -Pdukat.test.failure.always
Useful links
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].