Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

CodeControlio/surveyjs

 
 

Repository files navigation

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results. Build Status Software License

alt tag

Getting started

Join the chat at https://gitter.im/andrewtelnov/surveyjs

To find out more about the library go

You can try plnkr examples at:

Install the library using npm.

Angular2 version:

npm install survey-angular

jQuery version:

npm install survey-jquery

Knockout version:

npm install survey-knockout

React version:

npm install survey-react

Vue version:

npm install survey-vue

Or use Azure CDN: https://surveyjs.azureedge.net/{version-name}/{filename}. You find all versions/builds in the surveyjs/build repo.

Or dowload a version as zip file from Releases

Building survey.js from sources

To build library yourself:

  1. Clone the repo from GitHub

    git clone https://github.com/surveyjs/surveyjs.git
    cd surveyjs
    
  2. Acquire build dependencies. Make sure you have Node.js installed on your workstation. This is only needed to build surveyjs from sources.

    npm install -g karma-cli
    npm install
    
  3. Build the library

    npm run build_prod
    

    After that you should have the libraries (angular, jquery, knockout, react and vue) at 'packages' directory.

  4. Run unit tests

    karma start
    

    This command will run unit tests using Karma

Use 3rd party controls as question widgets.

Explore the example based on jquery datepicker

License

MIT license

Visual Editor

Visual Editor site Visual Editor sources are here

Packages

No packages published

Languages

  • TypeScript 77.0%
  • JavaScript 17.3%
  • Vue 3.1%
  • HTML 2.2%
  • Other 0.4%