Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.02 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.02 KB

Maven Central Kotlin Gradle GitHub License

kotlin-expess

A Kotlin wrapper for JavaScript express library.

Adding to your project

The library is published to Maven Central.

Gradle

Add the Maven Central repository if it is not already there.

repositories {
    mavenCentral()
}

To use the library in a single-platform project, add a dependency.

dependencies {
    implementation("dev.chriskrueger:kotlin-express:1.1.1")
}

Example

val app = express()
app.get("") { _, res ->
    res.status(200).send("hello")
}