bridgetownrb / node-runner

A simple way to execute Javascript in a Ruby context via Node
MIT License
32 stars 4 forks source link

Adds support for functions returning promises #3

Closed kdiogenes closed 7 months ago

CodeF53 commented 8 months ago

Just ran this myself, works excellent. For anyone else in need of this feature just use this in your gemfile:

gem 'node-runner', git: 'https://github.com/kdiogenes/node-runner.git', branch: 'feature/promises'