Question
Rochdi Badis · Oct 11, 2022

Using Node js

Hi Guys,

 

I've the following node js code (see https://github.com/CassiaNetworks/CassiaSDKGuide/blob/master/node_exampl...) 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
0
0 132
Discussion (3)1
Log in or sign up to continue

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

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