JSPM

@ouedyan/survey-pdf

2.3.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25700F
  • License SEE LICENSE IN LICENSE

survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.

Package Exports

  • @ouedyan/survey-pdf
  • @ouedyan/survey-pdf/pdf-form-filler
  • @ouedyan/survey-pdf/survey.pdf.fonts

Readme

SurveyJS PDF Generator

Build Status Issues Closed issues

SurveyJS PDF Generator allows you to save an unlimited number of custom-built survey forms to PDF (both blank and filled-in) and generate fillable PDF forms that your end users can edit. The PDF Generator library surves as a client-side extension for the SurveyJS Form Library.

Features

  • Support for all built-in SurveyJS Form Library question types
  • Editable PDF forms
  • Export of filled forms to PDF files
  • Option to render a survey form as a PDF file for printing or downloading
  • Automatic page breaks
  • Markdown support
  • Customizable page format and font
  • Support for headers and footers both on a page and an entire survey level
  • An API to download a fillable survey form as a document file in a traditional PDF format
  • PDF Form conversion to Blob, Base64 URL, or Raw PDF

Survey PDF Generator

Get Started

Resources

Build SurveyJS PDF Generator from Sources

  1. Clone the repo

    git clone https://github.com/surveyjs/survey-pdf.git
    cd survey-pdf
  2. Install dependencies
    Make sure that you have Node.js v6.0.0 or later and npm v2.7.0 or later installed.

    npm install
  3. Build the library

    npm run build:all

    You can find the built scripts in folders under the build directory.

  4. Run test examples

    npm start

    This command runs a local HTTP server at http://localhost:7777/.

  5. Run unit tests

    npm test

Licensing

SurveyJS PDF Generator is not available for free commercial usage. If you want to integrate it into your application, you must purchase a commercial license for software developer(s) who will be working with the SurveyJS product's APIs and implementing their integration.