Skip to content

Importing NodeJS modules into Quartex

Dean H Smith edited this page Dec 6, 2020 · 1 revision

Enter this into test.js

 var sleep = require('sleep');
 console.log(sleep);

run...the output should be

{ usleep: [Function (anonymous)], sleep: [Function (anonymous)], msleep: [Function (anonymous)] }

check our NPM doc page https://npms.io/search

function will be either a procedure or a function Getter/Setter is a property

Clone this wiki locally