1

I'm looking for way to use npm packages for writing javascript functions for my requirement. I have tried using imports and require for the same in external js files but no luck with it. Can someone suggest me a way in which we can achieve that?

  • we expect this to be possible once we move to GraalVM, but it may take 6 months to get there – Peter Thomas Jul 27 '20 at 17:37
  • @PeterThomas so can we maintain a separate code base where we incorporate the node js and then through some way call those functions from the feature file in the karate zip edition. – nehamishra25 Jul 28 '20 at 05:43
  • yes, but it is up to you how to make the connection. maybe calling via command line or as a REST service – Peter Thomas Jul 28 '20 at 05:53

0 Answers0