src/declarations/node/fs.kt (11 lines of code) (raw):
package node
@JsModule("fs")
external object fs {
fun existsSync(path: String): Boolean
fun lstatSync(path: String): Stats
fun createWriteStream(path: String): dynamic
fun createReadStream(path: String)
}
interface Stats {
fun isFile(): Boolean
}