shiny-helpers
v0.0.12
Published
Typescript types of component helpers for building JS extensions for Shiny apps
Downloads
5
Readme
Shiny-Helpers
What
This is a package with a set of conveneince helpers for extending Shiny with Javascript/Typescript code. It contains functions like makeInputBinding()
which helps abstract away boilerplate for custom input bindings and also provides Types for the main Shiny.js
.
Usage
Install the package:
npm install shiny-helpers
Import the package:
import type { Shiny } from "shiny-helpers";
import { makeInputBinding } from "shiny-helpers";
Development
To build the package locally run
npm run build
This runs tsc
and generates the production code in the dist
folder.
Submitting to NPM
Coming soon!