Sample code for 30+ languages & platforms
Node.js

Get Version of Chilkat

Demonstrate how to find out the version of Chilkat at runtime.

Chilkat Node.js Downloads

Node.js
NODEJS_PRELUDE

function chilkatExample() {

    // Most Chilkat classes include a Version property.
    // To find the version of Chilkat, such as "9.5.0.94",
    // instantiate the object and examine the Version property.

    // For example:
    var sftp = new chilkat.SFtp();
    var chilkatVersion = sftp.Version;
    console.log(chilkatVersion);

    // Most other Chilkat classes also have the Version property
    // For example:
    var json = new chilkat.JsonObject();
    console.log(json.Version);

}

chilkatExample();