Node.js libraries

Wednesday, July 19, 2017
Avatar

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?

 

1 Replies
Friday, July 21, 2017
Avatar
re: zephyrmil Wednesday, July 19, 2017

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

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, July 19, 2017
  • Last Reply: Friday, July 21, 2017
  • Replies: 1
  • Views: 8628