JsRuntime

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val isBrowser: Boolean
Link copied to clipboard
open val rawOsName: String
Link copied to clipboard

Functions

Link copied to clipboard
open suspend fun createClient(secure: Boolean): AsyncClient
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun createServer(port: Int, host: String, backlog: Int, secure: Boolean): AsyncServer
Link copied to clipboard
open fun currentDir(): String
Link copied to clipboard
open fun env(key: String): String?
Link copied to clipboard
abstract fun envs(): Map<String, String>
Link copied to clipboard
abstract fun existsSync(path: String): Boolean
Link copied to clipboard
open fun langs(): List<String>
Link copied to clipboard
open fun localStorage(): VfsFile
Link copied to clipboard
open fun openVfs(path: String): VfsFile
Link copied to clipboard
open fun tempVfs(): VfsFile