Socket
Book a DemoInstallSign in
Socket

guided-interview

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

guided-interview

An interview consists of a series of questions arranged in any way. For example:

0.0.75
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Guided Interview

An interview consists of a series of questions arranged in any way. For example:

{
    "name": {
        "id": "name",
        "type": "text",
        "title": "What is your name?",
    },
    "age": {
        "id": "age",
        "type": "number",
        "title": "How old are you?",
    },
    "licence": {
        "id": "licence",
        "type": "text",
        "title": "Write your driver’s licence number",
        "logic": {
            "showIf": "age.value >= 18"
        }
    }
}

The answers to these questions are saved in variables that can be used in subsequent questions.

You can use these results saved in variables to not show some questions.

Install

npm install guided-interview

Usage

import { GuidedInterview } from 'guided-interview'

const guidedInterview = new GuidedInterview({ interviewParams: params })

Publish package

Build library

npm run build

Run this command in terminal

np

FAQs

Package last updated on 03 Sep 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.