R/convert_js_to_text.R

Defines functions convert_js_to_text

Documented in convert_js_to_text

#' @title Convert Plugin File
#' @description reads the Plugin file
#' @keywords internal


convert_js_to_text <- function(){
  file_name <- file.path(find.package("shadowr"),"resources","querySelector.js")
  return(readChar(file_name, file.info(file_name)$size))
}

Try the shadowr package in your browser

Any scripts or data that you put into this service are public.

shadowr documentation built on May 25, 2022, 9:06 a.m.