NPM

Kolin Multiplatform Targets NodeJS

Submitted by Dickens A S on Sat, 08/08/2020 - 12:13

Code written in kotlin will get transformed to JavaScript NPM module which can be executed directly from Node.JS

GitHub https://github.com/dickensas/kotlin-gradle-templates/tree/master/js-nodejs

Simple Kotlin code

fun main() {
   println ("hello")
   test1()
}

The package.json which is manually created at root folder of the project