Registry / utility / kotlin-stdlib-js

kotlin-stdlib-js

JSON →
library2.4.0javamavenunverified

Provides the Kotlin standard library compiled for JavaScript targets.

<dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-js</artifactId> <version>2.4.0</version> </dependency>
INSTALL
IMPORT
SIG · KOTLIN-STDLIB-JS
K
kotlin-stdlib-js
utilityjavav2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Json
kotlin.js.Json

Converts a map to a JSON object using Kotlin JS standard library.

import kotlin.js.Json fun main() { val json: Json = mapOf("key" to "value").toJson() println(json) }
Debug
Known issues
breakingkotlin-stdlib-js is for JavaScript targets; not usable in JVM or native projects.
fix
Use kotlin-stdlib for JVM or kotlin-stdlib-common for multiplatform.
affects: *
Upgrade
Version history
2.4.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kotlin-stdlib-js — mvn dependency:get kotlin-stdlib-js · libregistry