som-exp-sdk
v1.0.126
Published
Evaluate the User Expression
Downloads
20
Readme
et-nd-exp-sdk
This SDK comes bundled with a range of methods that are useful in parsing and evaluating the expressions of the following kind:
- numeric operations
- date expression
- time expressions
- financial expressions
- loop and logical expression
- sentence expression
Installation
npm install et-nd-exp-sdk
Initialization
Initialize the module before accessing its methods. (Note: host and port values must be valid.)
- const expSDK = require("et-nd-exp-sdk")
- const opts = {
- host: "http://localhost",
- port: 9999,
- basePath: "/api/v1"
- }
- const sdk = expSDK.init(opts) // returns EvalSdkCore object