som-exp-sdk
Version:
Evaluate the User Expression
30 lines (23 loc) • 674 B
Markdown
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
`npm install et-nd-exp-sdk`
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
* ```