powered by
Bundle a list of files into a single JavaScript file
bundle(fs)
A character vector; a list of R or JavaScript files. The R files will be transpiled to JavaScript before bundling.
library(sketch) js <- bundle(c(src("dom"), src("io"))) cat(paste(readLines(js), collapse = "\n"))
Run the code above in your browser using DataLab