npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@acrossthecloud/survey-react

v1.8.20

Published

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.

Downloads

3

Readme

SurveyJS is a JavaScript Survey and Form Library.

SurveyJS is a modern way to add surveys and forms to your website. It has versions for angular2+, jQuery, knockout, react and vue.

Build Status Software License

Documentation

SurveyJS Library Documentation

Live Examples

SurveyJS Library Live Examples

Survey Creator / Form Builder

Create your Survey or Form now

Survey Creator sources are here

Export Survey to PDF

Export to pdf overview

Export to PDF sources are here

More info about SurveyJS

alt tag

SurveyJS is the most feature-rich Survey / Form Library available at the current moment. It can be easily customized and extended to suit your needs.

Main Features

A lot of question types with a lot of built-in functionalities.

Multiple Pages Support

You may create a very complex forms with a lot of pages, like this one.

Dynamically change survey logic and questions content

Localization and Multiple language support

Appearance and custom Rendering

Frequently used functionalities

To find out more about the library go

You can use our quickstart repos:

Getting started

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-number}/survey.angular.min.js
  • https://surveyjs.azureedge.net/{version-number}/survey.ko.min.js
  • https://surveyjs.azureedge.net/{version-number}/survey.react.min.js
  • https://surveyjs.azureedge.net/{version-number}/survey.jquery.min.js
  • https://surveyjs.azureedge.net/{version-number}/survey.vue.min.js

You find all versions/builds in the surveyjs/build repo.

Or dowload a version as zip file from Releases

If you want to import it in another script:

import * as Survey from "survey-jquery";

Building survey.js from sources

To build library yourself:

  1. Clone the repo from GitHub

    git clone https://github.com/surveyjs/survey-library.git
    cd survey-library
  2. Acquire build dependencies. Make sure you have Node.js installed on your workstation. You need a version of Node.js greater than 6.0.0 and npm greater than 2.7.0. 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 samples

    npm start

    This command will run local http server at the http://localhost:7777 You can open http://localhost:7777/examples/knockout to view KnockoutJS samples, http://localhost:7777/examples/react to view ReactJS samples and so on

  5. Run unit tests

    karma start

    This command will run unit tests using Karma

WordPress integration

SurveyJS WordPress plugin

License

MIT license