formio2html
TypeScript icon, indicating that this package has built-in type declarations

0.8.2 • Public • Published

formio2html

A library written in Rust to convert a formio form into a html page.

Available on npmjs.org

Usage

  • Install with npm i formio2html.
  • Import import { FormioForm } from 'formio2html';
const form = FormioForm.new(JSON.stringify(template), JSON.stringify(submission));
const html = form.to_html();

Building

Dependencies

Instructions

  • Install the wasm32-unknown-unknown target via rustup
  • Clone this repo
  • Build styles
    • sass src/styles/style.scss src/styles/style.css
  • Build wasm package
    • wasm-pack build --release

OR make build

Readme

Keywords

none

Package Sidebar

Install

npm i formio2html

Weekly Downloads

1

Version

0.8.2

License

MIT

Unpacked Size

193 kB

Total Files

7

Last publish

Collaborators

  • stefanrupertsberger