Have a look to the example file which is, in fact, a good resource to start.
It provides two links :
The lib to convert twine to json lazerwalker.com/twison/format.js
and the howto : github.com/DigitalCarleton/Prairie/wiki/Exporting-Data-from-Twine-to-JSON
I've made a worker compatible version => construct.net/make-games/addons/1130/c3-screenlog-js-webworker.
Member since 9 May, 2020