Skip to content

zhanchen/shinycookie

 
 

Repository files navigation

Travis build status Codecov test coverage

Shiny Cookie

The shinycookie package uses the js-cookie library to write cookies in Shiny applications without writing JavaScript.

  • Initialize shinycookie in your UI with initShinyCookie("myid")
  • Access cookies from the server with input$myid (for a list of all cookies) or input$myid$mycookie for a specific cookie
  • Update cookies from the server with the updateCookie function

Getting Started

Install the original development version:

devtools::install_github("colearendt/shinycookie")

Install the updated version with latest js.cookies:

devtools::install_github("zhanchen/shinycookie")

Examples

About

Cookies in Shiny

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 58.0%
  • JavaScript 42.0%