Package: js 1.2.1

js: Tools for Working with JavaScript in R

A set of utilities for working with JavaScript syntax in R. Includes tools to parse, tokenize, compile, validate, reformat, optimize and analyze JavaScript code.

Authors:Jeroen Ooms [aut, cre]

js_1.2.1.tar.gz
js_1.2.1.zip(r-4.5)js_1.2.1.zip(r-4.4)js_1.2.1.zip(r-4.3)
js_1.2.1.tgz(r-4.4-any)js_1.2.1.tgz(r-4.3-any)
js_1.2.1.tar.gz(r-4.5-noble)js_1.2.1.tar.gz(r-4.4-noble)
js_1.2.1.tgz(r-4.4-emscripten)js_1.2.1.tgz(r-4.3-emscripten)
js.pdf |js.html
js/json (API)
NEWS

# Install 'js' in R:
install.packages('js', repos = c('https://jeroen.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jeroen/js/issues

On CRAN:

8.83 score 68 stars 1 packages 82 scripts 2.0k downloads 69 mentions 10 exports 4 dependencies

Last updated 3 months agofrom:d48c4a3e0b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 02 2024
R-4.5-winOKDec 02 2024
R-4.5-linuxOKDec 02 2024
R-4.4-winOKDec 02 2024
R-4.4-macOKDec 02 2024
R-4.3-winOKDec 02 2024
R-4.3-macOKDec 02 2024

Exports:coffee_compileesprima_parseesprima_tokenizejs_evaljs_typeofjs_validate_scriptjshintuglify_filesuglify_optimizeuglify_reformat

Dependencies:curljsonliteRcppV8

Working with JavaScript Syntax in R

Rendered fromintro.Rmdusingknitr::rmarkdownon Dec 02 2024.

Last update: 2024-10-03
Started: 2015-02-15

Readme and manuals

Help Manual

Help pageTopics
Coffee Scriptcoffee coffee_compile
JavaScrip Syntax Treeesprima esprima_parse esprima_tokenize
Evaluate JavaScriptjs_eval
Get the type of a JavaScript objectjs_typeof
Validate JavaScriptjs_validate_script
Static analysis tool for JavaScriptjshint
Compress and Reformat JavaScript Codeuglify uglify_files uglify_optimize uglify_reformat