Skip to content

shichiyou/survey-library

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

alt tag

##Getting started Join the chat at https://gitter.im/surveyjs/surveyjs

To find our more about the library go

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

Or dowload the latest version as zip file Download

##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 gulp
    npm install -g typings
    npm install
    

    The first npm command sets up the popular Gulp build tool. The second npm command sets up the Typescript Definition Manager Typings.

  3. Create TypeScript definition files

    typings install
    

    Typescript definition files should be located at 'typings' directory.

  4. Build the library

    gulp makedist
    

    After that you should have the library at 'dist' directory.

  5. Run unit tests

    gulp copyfiles
    gulp test_ci
    

    The first command will copy all required files to 'wwwroot' directory and the last command will run unit tests usign Karma

##Create your own question type. Explore the example of adding a new question type into your survey library.

##License

MIT license - http://www.opensource.org/licenses/mit-license.php

##Visual Editor Visual Editor site Visual Editor sources are here

About

JavaScript Survey and Form Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 86.2%
  • JavaScript 6.7%
  • Vue 3.1%
  • HTML 2.1%
  • SCSS 1.8%
  • PEG.js 0.1%