Package: freshwater 0.0.0.9000

freshwater: Server-side rendering utilities for Plumber2 APIs

Provides various utility functions for improving server-side rendered HTML applications, such as enhanced HTML templating, response caching, and HTML tag serialisation.

Authors:Elian Thiele-Evans [aut, cre]

freshwater_0.0.0.9000.tar.gz
freshwater_0.0.0.9000.zip(r-4.7)freshwater_0.0.0.9000.zip(r-4.6)freshwater_0.0.0.9000.zip(r-4.5)
freshwater_0.0.0.9000.tgz(r-4.6-any)freshwater_0.0.0.9000.tgz(r-4.5-any)
freshwater_0.0.0.9000.tar.gz(r-4.7-any)freshwater_0.0.0.9000.tar.gz(r-4.6-any)
freshwater_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
freshwater/json (API)

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

Bug tracker:https://github.com/elianhugh/freshwater/issues

Pkgdown/docs site:https://elianhugh.github.io

On CRAN:

Conda:

apihttpplumber2ssrtemplating

3.29 score 3 stars 32 exports 85 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK165
source / vignettesOK215
linux-release-x86_64OK143
macos-release-arm64OK87
macos-oldrel-arm64OK126
windows-develOK148
windows-releaseOK222
windows-oldrelOK159
wasm-releaseOK145

Exports:api_cgetapi_csrfapi_error_pagesapi_freshwaterapi_hookscacheclear_cachecsrf_tokencurrent_cookiecurrent_headercurrent_methodcurrent_pathcurrent_querydefault_error_403_templatedefault_error_404_templatedefault_error_500_templatedocumentendpointsformfragmentget_cache_backendhookinvalidate_cacheinvalidate_cache_heremap_tagsredirectregister_async_evaluatorregister_html_serialiserset_cache_backendtargettargetstemplate

Dependencies:AsioHeadersaskpassbase64encbitbit64brewbriobrotlicachemcallrclicliprcommonmarkcpp11crayoncurldescdigestevaluatefastmapfieryfireprooffiresafetyfiresalefirestormfsgluehighrhmshtmltoolshttpuvjosejsonliteknitrlaterlifecyclemagrittrmemoisemiraimorinanonextopensslotelpillarpkgbuildpkgconfigpkgloadplumber2prettyunitsprocessxprogresspromisespsR6raggrapidocRcppreadrreqresrlangroutrroxygen2rprojrootsodiumstorrstringisvglitesyssystemfontstextshapingtibbletidyselecttriebeardtzdburltoolsutf8vctrsvroomwaysignwebsocketwebutilswithrxfunxml2yaml

Readme and manuals

Help Manual

Help pageTopics
Conditional GETapi_cget
Apply CSRF Protection to a plumber2 APIapi_csrf
Freshwater Error Pagesapi_error_pages
Freshwater defaults for plumber2 APIsapi_freshwater
Route handler hooksapi_hooks hook
Cache a partial within a templatecache clear_cache invalidate_cache invalidate_cache_here
CSRF Tokencsrf_token
Get request data from current contextcurrent_cookie current_header current_method current_path current_query
HTML Document Rootdocument
Reverse Routingendpoints
Formform
Freshwater Request Contextfreshwater_context
Error Page Templatesdefault_error_403_template default_error_404_template default_error_500_template freshwater_error_templates
Get freshwater's current cache backendget_cache_backend
Apply template function to each element of a vectormap_tags
Redirect to another resourceredirect
Register context-safe async evaluatorregister_async_evaluator
Register HTML Serialiserregister_html_serialiser
Configure freshwater's cache backendset_cache_backend
Resolve a template's target selectortarget
Combine multiple target selectorstargets
Create a reusable HTML templatefragment template