Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 883 Bytes

File metadata and controls

40 lines (26 loc) · 883 Bytes
copyright
years
2015, 2018
lastupdated 2018-05-25

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}

Using the MQ Light Node.js client

{: #mql_node}

** The MQ Light API is available as part of the Standard plan only.**

To use the API, add a reference to the latest available {{site.data.keyword.mql}} client API for Node.js as follows:

Add the following reference to the dependency section of your package.json file:

"mqlight" : "1.0.x"

{: codeblock}

And add the following require statement to your source file:

var mqlight = require(‘mqlight’);

{: codeblock}