Written by

Question Nezla · Oct 11, 2022

Using Node js

Hi Guys,

 

I've the following node js code (see https://github.com/CassiaNetworks/CassiaSDKGuide/blob/master/node_examp…) that I would like to use in one of my csp pages by including it in my  <script type="text/javascript"> tag but some syntax is not recognized and I'm guessing that node js has some extra libraries doesn't exist in regular Javascript (some examples below), so is the a way to include node js in my page?

 

thanks

Product version: Caché 2014.1

Comments

Eduard Lebedyuk · Oct 11, 2022

CSP supports client-side javascript only. Node is server-side javascript.

0
Adam Eborn · Oct 11, 2022

Async / await and arrow functions are ES6 Javascript (relatively new, introduced in 2015) and I believe not supported in Cache.

0