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.

To find out more about the library go * to the surveyjs.org site * explore the live Examples * and build a survey JSON using Visual Editor
You can try plnkr examples at: * Angular2 http://plnkr.co/edit/OJkKlUn1oxzWYtnruXir?p=preview * jQuery http://plnkr.co/edit/DH4vJWSBtza7bSCDm2r9?p=preview * Knockout http://plnkr.co/edit/JKy5wwiAhaBTMze3fOO0?p=preview * React http://plnkr.co/edit/qXdeQa6x2FHRg0YrOlPL?p=preview * Vue http://plnkr.co/edit/aTYVAiDvMWOf3zDReayE?p=preview
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 dowload the latest version as zip file Download
To build library yourself:
Clone the repo from GitHub
git clone https://github.com/surveyjs/surveyjs.git
cd surveyjs
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
Build the library
npm run build_prod
After that you should have the library at 'dist' directory.
Run unit tests
karma start
This command will run unit tests usign Karma
Explore the example of adding a new question type into your survey library.
MIT license - http://www.opensource.org/licenses/mit-license.php
$ claude mcp add survey-library \
-- python -m otcore.mcp_server <graph>