Build a Html web page that accesses the device. Move the data to the browser object along with 'localStorage/globalStorage' then with the 'fs' object, store to the local file system.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
A non-Espruino way (not verified nor an attempt at coding)
Use the web-based Puck.js
Using:
Build a Html web page that accesses the device. Move the data to the browser object along with 'localStorage/globalStorage' then with the 'fs' object, store to the local file system.