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.6)js_1.2.1.zip(r-4.5)js_1.2.1.zip(r-4.4)
js_1.2.1.tgz(r-4.5-any)
js_1.2.1.tar.gz(r-4.6-any)js_1.2.1.tar.gz(r-4.5-any)
js_1.2.1.tgz(r-4.5-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'))

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

On CRAN:

Conda:

9.12 score 67 stars 1 packages 85 scripts 7.7k downloads 69 mentions 10 exports 4 dependencies

Last updated from:d48c4a3e0b. Checks:9 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK114
source / vignettesOK162
linux-release-x86_64OK109
macos-release-arm64OK82
macos-oldrel-arm64OK108
windows-develOK63
windows-releaseOK65
windows-oldrelOK81
wasm-releaseOK105

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 14 2025.

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

  • Image