Senzing Node.js SDK
    Preparing search index...

    Class SzProduct

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Gets the product license details as a JSON string.

      Returns string

    • Gets the product license details as a JSON string.

      Returns string

      const product = env.getProduct();
      const license = JSON.parse(product.getLicense());
      console.log(`License type: ${license.licenseType}`);
      console.log(`Expiration: ${license.expireDate}`);
    • Gets the product version information as a JSON string.

      Returns string

    • Gets the product version information as a JSON string.

      Returns string

      const product = env.getProduct();
      const version = JSON.parse(product.getVersion());
      console.log(`Senzing ${version.VERSION} (${version.BUILD_DATE})`);