{"id":24116995,"url":"https://github.com/kotlin/dukat","last_synced_at":"2025-04-08T11:09:46.924Z","repository":{"id":34838443,"uuid":"159510660","full_name":"Kotlin/dukat","owner":"Kotlin","description":"Converter of \u003cany kind of declarations\u003e to Kotlin external declarations","archived":false,"fork":false,"pushed_at":"2024-03-25T14:36:30.000Z","size":6139,"stargazers_count":540,"open_issues_count":244,"forks_count":43,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-05-15T20:52:11.339Z","etag":null,"topics":["converter","external-declarations","kotlin","kotlin-declarations","kotlin-js","typescript","webidl"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kotlin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"license/LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-28T13:59:13.000Z","updated_at":"2024-06-18T12:39:07.157Z","dependencies_parsed_at":"2024-06-18T12:38:47.830Z","dependency_job_id":"7ec8866a-50ee-4f39-9070-8d1ead175dc2","html_url":"https://github.com/Kotlin/dukat","commit_stats":{"total_commits":1996,"total_committers":17,"mean_commits":"117.41176470588235","dds":"0.13476953907815636","last_synced_commit":"94f32acae01a4cb6441892d309b1ff40256f127b"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fdukat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fdukat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fdukat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fdukat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kotlin","download_url":"https://codeload.github.com/Kotlin/dukat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829511,"owners_count":21002997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","external-declarations","kotlin","kotlin-declarations","kotlin-js","typescript","webidl"],"created_at":"2025-01-11T07:23:26.656Z","updated_at":"2025-04-08T11:09:46.898Z","avatar_url":"https://github.com/Kotlin.png","language":"Kotlin","readme":"[![Kotlin Experimental](https://kotl.in/badges/experimental.svg)](https://kotlinlang.org/docs/components-stability.html)\n[![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n# Description\nConverter of TypeScript definition files to Kotlin declarations\n\nThis requires JRE 1.6+ to run. It generates Kotlin files that are compatible with Kotlin 1.1+ (generated declarations\nare tested against latest stable compiler version)\n\n# How to install\n\nThe simplest way to use is install the latest version form [npm](https://www.npmjs.com/package/dukat):\n```shell\nnpm install -g dukat\n```\n\nOn a weekly basis we also deply a dev build which sums up what we currently have in master, \nso **if you want to checkout the snapshot version, use `dukat@next`**:\n\n```\nnpm install -g dukat@next\n```\n\n# Usage\n\n```shell\ndukat [\u003coptions\u003e] \u003cd.ts files\u003e\n```\n\nwhere possible options include:\n```shell\n    -p  \u003cqualifiedPackageName\u003e      package name for the generated file (by default filename.d.ts renamed to filename.d.kt)\n    -m  String                      use this value as @file:JsModule annotation value whenever such annotation occurs\n    -d  \u003cpath\u003e                      destination directory for files with converted declarations (by default declarations are generated in current directory)\n    -v, -version                    print version\n```\n\n# How to setup and build\n\n1. clone this project\n  ```shell\n  # on Windows-based platforms set following: `git config core.autocrlf true`   \n  git clone \u003cthis project url\u003e\n  ```\n  \n2. build\n \n ```shell\n ./gradlew build\n ```\n \n3. (optional) Run unit tests\n\n```shell\n./gradlew test -Pdukat.test.failure.always\n```  \n\n[see CHANGELOG](https://github.com/Kotlin/dukat/blob/master/CHANGELOG.md)\n\n# Useful links\n\n- [TypeScript type definitions](https://github.com/DefinitelyTyped/DefinitelyTyped)\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotlin%2Fdukat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkotlin%2Fdukat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotlin%2Fdukat/lists"}