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

surveycat

v1.0.0

Published

A tool for launching a survey

Downloads

1

Readme

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:

  1. port is on which you start your survey as a node server
  2. type now support paper and carousel
  3. 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