Suite.js Documentation

Introduction


Getting Started

• Downloading & Installing
• Running
Examples


Technical Support


Functions

Cryptography
• hashSHA256
• hmacSHA256
• hashSHA512
• hmacSHA512
• hashMD5
• hmacMD5

File System
fileExists
fileRead
fileWrite
folderExists
unzip
zip

Input / Output
beep
prompt
write
writeln

Networking
curlExecute
• nsapiExecute

Operating System
shellExecute

Text Encoding
base64Decode
base64Encode


Advanced Topics

infoRefresh

Updates ("refreshes") the "info" object.

This is helpful if you want to utilize the info object's date, time, and environment-based values (such as available memory, disk space, etc).

infoRefresh Example

writeln( "The time is: " + info.date.longTime );
writeln;

// Pause for 5 seconds...
sleep( 1000 * 5 );

infoRefresh();

writeln( "The time is now: " + info.date.longTime );
writeln;

Here's an example of the output.

The time is: 10:40:10 AM

The time is now: 10:40:15 AM

© Copyright 2025 Tim Dietrich. | Legal Info