I’m trying to use the Buffer class that’s globally available in Node.js, but I’m failing to get the Retool js script editor to recognize the class as it does not support the Buffer class. Does anyone know any existing libraries that can replace the missing class?
I found a library that ports the Nodejs buffer to the browser: https://github.com/feross/buffer/
Here’s the link to the CDN you’d need to add in your Retool settings page: https://firstname.lastname@example.org/index.min.js
Let us know if that works!