🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

surveycat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surveycat

A tool for launching a survey

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

SurveyCat

A tool for launching a survey

Install

npm install surveycat -g

Usage

Usage: surveycat [options]

Commands:

init <survey>    init a survey
config <survey>  config survey questions
report <survey>  view survey report
start <survey>   start a survey

A tool for launching a survey

Options:

-h, --help  output usage information

Tutorial

If you want to launch a survey named mySurvey, you can launch it following the steps below:

1. Initialize the survey

$ surveycat init mySurvey
13:31:50 INFO  Initializing a survey
? title:  mySurvey
? description:  Please read and answer the questions below carefully
? port:  8016
? type:  paper
? start datetime:  2016-06-24 13:31
? end datetime:  2016-06-25 13:31
13:32:08 INFO  Finish initializing a survey named mySurvey

Note that:

  • port is on which you start your survey as a node server
  • type now support paper and carousel
  • start datetime and end datetime can accept date format YYYY-MM-DD HH:mm, YYYY-MM-DD

2. Config the questions of the survey

$ surveycat config mySurvey

After execute the command, a configuration page will be opened in the browser: image You can config the questions of the survey on this page and then submit them.

3. Start the survey

$ surveycat start mySurvey

After execute the command, a survey page will be opened in the browser: image Then you can share the url with you teammates! If http://ipaddress sucks, you can upload the static page to an VPS and modify the submit url manually.

4. Checking the survey report

$ surveycat report mySurvey

After execute the command, a survey report page will be opened in the browser: image

Keywords

survey

FAQs

Package last updated on 24 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts