Socket
Socket
Sign inDemoInstall

surveyjs-expression-eval

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    surveyjs-expression-eval

Evaluate expressions from the SurveyJS standard.


Version published
Weekly downloads
12K
increased by19.66%
Maintainers
1
Install size
86.3 kB
Created
Weekly downloads
 

Readme

Source

SurveyJS Expression Eval

This module allows you to evaluate expressions using the SurveyJS language.

import evaluateExpression from "surveyjs-expression-eval"

evaluateExpression("{myvar} > {myothervar}", {
  myvar: 2,
  myothervar: 1
})
// true

See format.md for more examples and a list of operators.

FAQs

Last updated on 09 Jan 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc