Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Node.js libraries
I am exploring the idea of using Rapise for automation and am wondering about Javascript library support.
Would it be possible to integrate with Node.js libraries? For example Mongodb JS APIs: https://www.npmjs.com/package/mongodb
If so, how would the libraries be included?
Hi Daniel
Unfortunately the current version of Rapise JavaScript is baselined at version ES3, so it is limited to a subset of the NodeJS libraries because they increasingly use ES5/ES6.
The reason that Rapise uses ES3 is because we use the Windows Scripting Host (WSH), which gives us native COM/ActiveX/.NET integration that we use in Rapise. Pure v8/node has nothing like that.
A future possible solution is some kind of hybrid approach where we can implement a module for Rapise integration. So Rapise creates NodeJS process and talks to it through pipe or shared file. We are doing some POCs on this for the future.
I hope that provides some clarity.Regards
Adam
And if you have any questions, please email or call us at +1 (202) 558-6885