{
  "_id": "6a2d1a3a3efcd9bda42f46df",
  "Package": "shinyjs",
  "Title": "Easily Improve the User Experience of Your Shiny Apps in Seconds",
  "Version": "2.1.0.9012",
  "Authors@R": "person(\"Dean\", \"Attali\", \nemail = \"daattali@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment= c(ORCID=\"0000-0002-5645-3493\"))",
  "Description": "Perform common useful JavaScript operations in Shiny apps\nthat will greatly improve your apps without having to know any\nJavaScript. Examples include: hiding an element, disabling an\ninput, resetting an input back to its original value, delaying\ncode execution by a few seconds, and many more useful functions\nfor both the end user and the developer. 'shinyjs' can also be\nused to easily call your own custom JavaScript functions from\nR.",
  "URL": "https://deanattali.com/shinyjs/,\nhttps://github.com/daattali/shinyjs",
  "BugReports": "https://github.com/daattali/shinyjs/issues",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://daattali.r-universe.dev",
  "Date/Publication": "2025-10-16 22:57:20 UTC",
  "RemoteUrl": "https://github.com/daattali/shinyjs",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2f9fea75816568e3947ececec6698012f40fd6b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-13 08:49:29 UTC",
    "User": "root"
  },
  "Author": "Dean Attali [aut, cre] (ORCID: <https://orcid.org/0000-0002-5645-3493>)",
  "Maintainer": "Dean Attali <daattali@gmail.com>",
  "MD5sum": "32ca47ff89534cf8084904bec0392c7f",
  "_user": "daattali",
  "_type": "src",
  "_file": "shinyjs_2.1.0.9012.tar.gz",
  "_fileid": "7055e8cba286bc1a6a816475185e2a948e6ba16d7aa0cfeb9d73c4cf1e1b01f8",
  "_filesize": 1176820,
  "_sha256": "7055e8cba286bc1a6a816475185e2a948e6ba16d7aa0cfeb9d73c4cf1e1b01f8",
  "_created": "2026-06-13T08:49:29.000Z",
  "_published": "2026-06-13T08:52:10.315Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81177683093,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609251624"
    },
    {
      "job": 81177683082,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609253021"
    },
    {
      "job": 81177683089,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7609252206"
    },
    {
      "job": 81177683088,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609251812"
    },
    {
      "job": 81177524409,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609237527"
    },
    {
      "job": 81177683096,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609253072"
    },
    {
      "job": 81177683080,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609247438"
    },
    {
      "job": 81177683100,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7609248171"
    },
    {
      "job": 81177683094,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609246218"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/daattali/shinyjs",
  "_commit": {
    "id": "e2f9fea75816568e3947ececec6698012f40fd6b",
    "author": "Dean Attali <daattali@gmail.com>",
    "committer": "Dean Attali <daattali@gmail.com>",
    "message": "fix CRAN issues in README about URL redirections\n",
    "time": 1760655440
  },
  "_maintainer": {
    "name": "Dean Attali",
    "email": "daattali@gmail.com",
    "login": "daattali",
    "orcid": "0000-0002-5645-3493",
    "twitter": "@daattali",
    "description": "Founder & Lead R-Shiny consultant @ AttaliTech Ltd. Passionate about writing open source tools. Extreme traveller.",
    "uuid": 952340
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "version": ">= 0.3.5",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.7",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinyAce",
      "role": "Suggests"
    },
    {
      "package": "shinydisconnect",
      "role": "Suggests"
    },
    {
      "package": "shinytest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 0.9.1",
      "role": "Suggests"
    }
  ],
  "_owner": "daattali",
  "_selfowned": true,
  "_usedby": 464,
  "_updates": [
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "javascript",
    "shiny",
    "shiny-r"
  ],
  "_stars": 750,
  "_contributors": [
    {
      "user": "daattali",
      "count": 575,
      "uuid": 952340
    },
    {
      "user": "davidbarke",
      "count": 2,
      "uuid": 36515290
    },
    {
      "user": "warnes",
      "count": 1,
      "uuid": 6144863
    },
    {
      "user": "assignuser",
      "count": 1,
      "uuid": 16141871
    },
    {
      "user": "jimhester",
      "count": 1,
      "uuid": 205275
    },
    {
      "user": "m7pr",
      "count": 1,
      "uuid": 133694481
    },
    {
      "user": "mjhelf",
      "count": 1,
      "uuid": 28405692
    },
    {
      "user": "oganm",
      "count": 1,
      "uuid": 6352379
    },
    {
      "user": "riccardoporreca",
      "count": 1,
      "uuid": 13663564
    },
    {
      "user": "shabbychef",
      "count": 1,
      "uuid": 1456159
    },
    {
      "user": "deeflorian",
      "count": 1,
      "uuid": 5788853
    }
  ],
  "_userbio": {
    "uuid": 952340,
    "type": "user",
    "name": "Dean Attali",
    "description": "Founder & Lead R-Shiny consultant @ AttaliTech Ltd. Passionate about writing open source tools. Extreme traveller."
  },
  "_downloads": {
    "count": 334508,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shinyjs"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/daattali/shinyjs",
  "_searchresults": 11552,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shinyjs.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/daattali/shinyjs",
  "_realowner": "daattali",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3.3",
      "date": "2015-04-22"
    },
    {
      "version": "0.0.6.0",
      "date": "2015-05-26"
    },
    {
      "version": "0.0.6.2",
      "date": "2015-05-29"
    },
    {
      "version": "0.0.7.0",
      "date": "2015-06-24"
    },
    {
      "version": "0.0.8.3",
      "date": "2015-07-31"
    },
    {
      "version": "0.1.0",
      "date": "2015-08-13"
    },
    {
      "version": "0.2.0",
      "date": "2015-09-06"
    },
    {
      "version": "0.2.3",
      "date": "2015-11-08"
    },
    {
      "version": "0.3.0",
      "date": "2015-12-30"
    },
    {
      "version": "0.3.1",
      "date": "2016-01-06"
    },
    {
      "version": "0.4.0",
      "date": "2016-01-21"
    },
    {
      "version": "0.5.0",
      "date": "2016-03-19"
    },
    {
      "version": "0.5.2",
      "date": "2016-03-27"
    },
    {
      "version": "0.6",
      "date": "2016-04-25"
    },
    {
      "version": "0.7",
      "date": "2016-08-21"
    },
    {
      "version": "0.8",
      "date": "2016-11-03"
    },
    {
      "version": "0.9",
      "date": "2016-12-26"
    },
    {
      "version": "0.9.1",
      "date": "2017-06-29"
    },
    {
      "version": "1.0",
      "date": "2018-01-08"
    },
    {
      "version": "1.1",
      "date": "2020-01-13"
    },
    {
      "version": "2.0.0",
      "date": "2020-09-09"
    },
    {
      "version": "2.1.0",
      "date": "2021-12-23"
    },
    {
      "version": "2.1.1",
      "date": "2026-01-15"
    }
  ],
  "_exports": [
    "addClass",
    "addCssClass",
    "alert",
    "click",
    "delay",
    "disable",
    "disabled",
    "enable",
    "extendShinyjs",
    "hidden",
    "hide",
    "hideElement",
    "html",
    "info",
    "inlineCSS",
    "js",
    "logjs",
    "onclick",
    "onevent",
    "refresh",
    "removeClass",
    "removeCssClass",
    "removeEvent",
    "reset",
    "runcode",
    "runcodeServer",
    "runcodeUI",
    "runExample",
    "runjs",
    "show",
    "showElement",
    "showLog",
    "toggle",
    "toggleClass",
    "toggleCssClass",
    "toggleElement",
    "toggleState",
    "useShinyjs"
  ],
  "_help": [
    {
      "page": "classFuncs",
      "title": "Add/remove CSS class",
      "topics": [
        "addClass",
        "addCssClass",
        "classFuncs",
        "removeClass",
        "removeCssClass",
        "toggleClass",
        "toggleCssClass"
      ]
    },
    {
      "page": "click",
      "title": "Click on a Shiny button",
      "topics": [
        "click"
      ]
    },
    {
      "page": "delay",
      "title": "Execute R code after a specified number of milliseconds has elapsed",
      "topics": [
        "delay"
      ]
    },
    {
      "page": "disabled",
      "title": "Initialize a Shiny input as disabled",
      "topics": [
        "disabled"
      ]
    },
    {
      "page": "extendShinyjs",
      "title": "Extend shinyjs by calling your own JavaScript functions",
      "topics": [
        "extendShinyjs"
      ]
    },
    {
      "page": "hidden",
      "title": "Initialize a Shiny tag as hidden",
      "topics": [
        "hidden"
      ]
    },
    {
      "page": "html",
      "title": "Change the HTML (or text) inside an element",
      "topics": [
        "html"
      ]
    },
    {
      "page": "inlineCSS",
      "title": "Add inline CSS",
      "topics": [
        "inlineCSS"
      ]
    },
    {
      "page": "messageFuncs",
      "title": "Show a message",
      "topics": [
        "alert",
        "info",
        "logjs",
        "messageFuncs"
      ]
    },
    {
      "page": "onevent",
      "title": "Run R code when an event is triggered on an element",
      "topics": [
        "onclick",
        "onevent"
      ]
    },
    {
      "page": "refresh",
      "title": "Refresh the page",
      "topics": [
        "refresh"
      ]
    },
    {
      "page": "removeEvent",
      "title": "Remove an event that was added to an element",
      "topics": [
        "removeEvent"
      ]
    },
    {
      "page": "reset",
      "title": "Reset input elements to their original values",
      "topics": [
        "reset"
      ]
    },
    {
      "page": "runcode",
      "title": "Construct to let you run arbitrary R code live in a Shiny app",
      "topics": [
        "runcode"
      ]
    },
    {
      "page": "runcodeServer",
      "title": "Deprecated - use 'runcode()' instead",
      "topics": [
        "runcodeServer"
      ]
    },
    {
      "page": "runcodeUI",
      "title": "Deprecated - use 'runcode()' instead",
      "topics": [
        "runcodeUI"
      ]
    },
    {
      "page": "runExample",
      "title": "Run shinyjs examples [DEPRECATED]",
      "topics": [
        "runExample"
      ]
    },
    {
      "page": "runjs",
      "title": "Run JavaScript code",
      "topics": [
        "runjs"
      ]
    },
    {
      "page": "shinyjs-defunct",
      "title": "Defunct functions in shinyjs",
      "topics": [
        "shinyjs-defunct"
      ]
    },
    {
      "page": "showLog",
      "title": "Print any JavaScript console.log messages in the R console",
      "topics": [
        "showLog"
      ]
    },
    {
      "page": "stateFuncs",
      "title": "Enable/disable an input element",
      "topics": [
        "disable",
        "enable",
        "stateFuncs",
        "toggleState"
      ]
    },
    {
      "page": "useShinyjs",
      "title": "Set up a Shiny app to use shinyjs",
      "topics": [
        "useShinyjs"
      ]
    },
    {
      "page": "visibilityFuncs",
      "title": "Display/hide an element",
      "topics": [
        "hide",
        "hideElement",
        "show",
        "showElement",
        "toggle",
        "toggleElement",
        "visibilityFuncs"
      ]
    }
  ],
  "_readme": "https://github.com/daattali/shinyjs/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "sass",
    "shiny",
    "sourcetools",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "shinyjs-extend.Rmd",
      "filename": "shinyjs-extend.html",
      "title": "extendShinyjs: Calling your own JavaScript functions from R",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "extendShinyjs: Calling your own JavaScript functions from R"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2020-08-20 22:05:22",
      "commits": 6
    },
    {
      "source": "shinyjs-usage.Rmd",
      "filename": "shinyjs-usage.html",
      "title": "Including shinyjs in different types of apps",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Including shinyjs in different types of apps",
        "Table of contents"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2025-04-07 06:55:02",
      "commits": 22
    },
    {
      "source": "shinyjs-example.Rmd",
      "filename": "shinyjs-example.html",
      "title": "shinyjs example app walk-through",
      "author": "Dean Attali",
      "engine": "knitr::rmarkdown",
      "headings": [
        "shinyjs example app walk-through",
        "Add shinyjs features",
        "Final code"
      ],
      "created": "2016-11-03 16:43:58",
      "modified": "2020-08-27 07:21:04",
      "commits": 3
    }
  ],
  "_score": 18.082885442305173,
  "_indexed": true,
  "_nocasepkg": "shinyjs",
  "_universes": [
    "daattali"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:51:29.000Z",
      "distro": "noble",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "c109f19b18d0fcb8ad81bae396e00332e2fa19e05a07bf09577949931e318d77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:51:38.000Z",
      "distro": "noble",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "ae58b7d2e73875626c3c47d31b8dd088843d90c24d0c13df06e53ce0a831960a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:51:28.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "ac7f5cb5c496f21e1174d524cfa31bc6bf99cfe988b00b3c56162549e3d6f208",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:51:28.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "2764ef66996bb0b042ea76d58981128aad1b203cc991bb92a2bd527861e78669",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:51:56.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "55465068b3a81d8a347c7e2a9d71008a1d6863c82ee0bae969fddc2e82c21714",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:50:43.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "444b992144e7067b38622fe0d2b9770898415ba6b2bed993eca4b8e297967405",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:50:46.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "a6d5814c5ee257dbe673e07c3b5f03df1a78a8420634d60ec3aa1202de82e5c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-06-13T08:50:36.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "bfce09d100819af3f552654fe2cd150cbe206074e9aba534a5e719b818adb9e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/27462033827"
    }
  ]
}