New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sm-map

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sm-map

Map a SurveyMonkey response to the survey and get a set of answers instead of IDs

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

SurveyMonkey Response Mapper

The SurveyMonkey API returns survey responses that have IDs representing the answers in the survey, instead of the actual text of the answer. This requires mapping between the survey and response manually, a bit of a bitch, considering all the different control types.

This module provides an interface for doing this mapping, and returning a simplified response object with each answer text inline with the question itself, instead of the IDs.

Care has been taken to cover all current SurveyMonkey controls. Submit a pull request if you fix someting that's amiss!

On Tests

The astute reader will have noticed the test folder. The curious explorer will have also noticed that inside of said folder, there aren't ACTUAL tests, but rather just an example of this thing working. Yeah, I get it. Not real tests. Need to do that. Consider that a TODO.

FAQs

Package last updated on 21 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc