Kotlin / kotlinx-nodejs

Kotlin external declarations for using the Node.js API from Kotlin code targeting JavaScript

Home Page:https://kotl.in/js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlinx-nodejs

Kotlin Experimental JetBrains incubator project GitHub license

kotlinx-nodejs provides Kotlin external declarations for using the Node.js API from Kotlin code targeting JavaScript.

We're currently experimental!

Right now the only thing we guarantee is that the provided source set is compiling. There can be, unfortunately, some inconsistent, missing, redundant, or even unusable declarations.

Feel free to submit issues and bug reports as you encounter them. We will do our best to address them as soon as possible.

Keep in mind that these sources are generated with Dukat and are not supposed to be edited manually. Please do not send pull requests to this repository directly. Instead, please file an issue about the improvements you have in mind – we can then adjust the generator tool accordingly.

Setup

To add kotlinx-nodejs to your project, make sure you have jcenter added to your repositories. You can then add a dependency:

repositories {
    // . . .
    jcenter()
}

dependencies {
    // . . .
    implementation("org.jetbrains.kotlinx:kotlinx-nodejs:0.0.7")
}

About

Kotlin external declarations for using the Node.js API from Kotlin code targeting JavaScript

https://kotl.in/js

License:Apache License 2.0


Languages

Language:Kotlin 100.0%