{
  "_id": "6a101db9acfb0bcc41c8a65e",
  "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-05-14 07:46:46 UTC",
    "User": "root"
  },
  "Author": "Dean Attali [aut, cre] (ORCID: <https://orcid.org/0000-0002-5645-3493>)",
  "Maintainer": "Dean Attali <daattali@gmail.com>",
  "MD5sum": "87b8d065489adaf553e510aed22b4f29",
  "_user": "daattali",
  "_type": "src",
  "_file": "shinyjs_2.1.0.9012.tar.gz",
  "_fileid": "db6dbdb040f05d08ea85711cd28cc6fcd4ad26a1f597025a026622baa09c1cd9",
  "_filesize": 1176767,
  "_sha256": "db6dbdb040f05d08ea85711cd28cc6fcd4ad26a1f597025a026622baa09c1cd9",
  "_created": "2026-05-14T07:46:46.000Z",
  "_published": "2026-05-22T09:11:21.799Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77350159333,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989713798"
    },
    {
      "job": 77350159299,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989713430"
    },
    {
      "job": 77350159624,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989704696"
    },
    {
      "job": 77350159555,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989700945"
    },
    {
      "job": 77350159107,
      "time": 159,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989679271"
    },
    {
      "job": 77350159131,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156942922"
    },
    {
      "job": 77350159347,
      "time": 160,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989718050"
    },
    {
      "job": 77350159966,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989705176"
    },
    {
      "job": 77350159412,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989700167"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301",
  "_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",
    "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": 458,
  "_updates": [
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "javascript",
    "shiny",
    "shiny-r"
  ],
  "_stars": 749,
  "_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": 229222,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shinyjs"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/daattali/shinyjs",
  "_searchresults": 13344,
  "_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",
    "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": 17.975132135937972,
  "_indexed": true,
  "_nocasepkg": "shinyjs",
  "_universes": [
    "daattali"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:49:03.000Z",
      "distro": "noble",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "8ea6271295238ed0a0d9ad50416a72cf6af9bb707f7e413a754d1145b3ef7bb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:49:00.000Z",
      "distro": "noble",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "e53de1be436d2044a995c3e03b4c82d6da809ca0dc4e6d4dde043fc09555353a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:48:22.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "c932fe9c33571f3720c1f20678bc2564eab16edfbf5e298473e91f228beb9544",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:48:17.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "4b3fd5566b264c4da6f0cf94a63e332cc29c8484e36ba406b98af2cfb3508a53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:49:13.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "a8529cb180d31a5be1f757170edb3a01f5534a65687172cbe964c6d7e3481af5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:48:20.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "87833f01fe68d34e4325426d4b2329d48910bc9ed50e8a5243fa9efbd8d47db4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0.9012",
      "date": "2026-05-14T07:48:01.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "c1025ce267a02083ab94c104e210bf640f2bc780ca64e3f4d6305ceffc13980e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9012",
      "date": "2026-05-22T09:11:07.000Z",
      "commit": "e2f9fea75816568e3947ececec6698012f40fd6b",
      "fileid": "4fb7068fe21164969af7dedef62f39bca7381025b8009cc6329beb75caddc3fe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daattali/actions/runs/25848349301"
    }
  ]
}