1.0.16 • Published 8 months ago

et-node-exp-sdk v1.0.16

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
8 months ago

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