Is it possible to copy output to the clipboard?
something like chrome’s debugger where you can do copy($1) and it will go to your clipboard.
looking to use https://npm.runkit.com/compact-object
but if I can get the data out it’s not helpful for that purpose
Can you just do JSON.stringify(compact({a:"5"}))
and then copy the string in the output manually?
You can also do Buffer.from(JSON.stringify(compact({a:"5"})))
and then select “Download” when you open the Buffer viewer. This will download a .binary file and you can change the extension to .txt and you’ll have the entirety of the output in there.
awesome thanks I will try this.