
General-purpose library enabling usage across multiple platforms, including Java and JavaScript. Supports JVM languages and native binaries, with comprehensive API documentation available.
A general-purpose multiplatform library. Implemented in Kotlin, usable also from Java, JavaScript/TypeScript and more.
Note however that due to the current nature of Kotlin Multiplatform, many parts of the library are not available from regular JavaScript/TypeScript projects.
There are Kotlin API docs for all platforms.
You can use this library with any language that runs on the Java Virtual Machine: Java, Kotlin, Scala etc.
The build artifacts have been published to the Maven Central Repository.
<dependency>
<groupId>com.marcoeckstein</groupId>
<artifactId>kotlin-lib-jvm</artifactId>
<version>${version}</version>
</dependency>implementation("com.marcoeckstein:kotlin-lib:$version")implementation 'com.marcoeckstein:kotlin-lib:$version'Use the same snippets as for a Gradle JVM project (see above).
npm install --save @marco-eckstein/kotlin-lib@$versionimport * as kotlinLib from "@marco-eckstein/kotlin-lib";
# Kotlin multiplatform exports full namespaces:
const klib = kotlinLib.com.marcoeckstein.klib
klib.kotlin.stringify(undefined)I do not actively support this, but you should be able to build native binaries of this project yourself using Gradle. Please see the Kotlin Multiplatform docs.
gradlew buildThese notes are primarily for myself.
gradlew publish -PsonatypeStagingPassword=<password>This task will include these steps:
gradle.properties.build\packages\js\ to NPM.jar files etc.) to the staging repository at
OSS Repository Hosting that belongs to the username configured in
gradle.properties.These steps need to be performed manually:
More info at: https://central.sonatype.org/publish/
A general-purpose multiplatform library. Implemented in Kotlin, usable also from Java, JavaScript/TypeScript and more.
Note however that due to the current nature of Kotlin Multiplatform, many parts of the library are not available from regular JavaScript/TypeScript projects.
There are Kotlin API docs for all platforms.
You can use this library with any language that runs on the Java Virtual Machine: Java, Kotlin, Scala etc.
The build artifacts have been published to the Maven Central Repository.
<dependency>
<groupId>com.marcoeckstein</groupId>
<artifactId>kotlin-lib-jvm</artifactId>
<version>${version}</version>
</dependency>implementation("com.marcoeckstein:kotlin-lib:$version")implementation 'com.marcoeckstein:kotlin-lib:$version'Use the same snippets as for a Gradle JVM project (see above).
npm install --save @marco-eckstein/kotlin-lib@$versionimport * as kotlinLib from "@marco-eckstein/kotlin-lib";
# Kotlin multiplatform exports full namespaces:
const klib = kotlinLib.com.marcoeckstein.klib
klib.kotlin.stringify(undefined)I do not actively support this, but you should be able to build native binaries of this project yourself using Gradle. Please see the Kotlin Multiplatform docs.
gradlew buildThese notes are primarily for myself.
gradlew publish -PsonatypeStagingPassword=<password>This task will include these steps:
gradle.properties.build\packages\js\ to NPM.jar files etc.) to the staging repository at
OSS Repository Hosting that belongs to the username configured in
gradle.properties.These steps need to be performed manually:
More info at: https://central.sonatype.org/publish/