puter.js
                                
                                
                                
                                    puter.js copied to clipboard
                            
                            
                            
                        WIP: Let apps request to be headless
This is a bit of an awkward API at the moment:
- READY message is delayed until DOMContentLoaded
 - This lets app code call puter.ui.configureWindow() before that happens
 - The window configuration is then included in the READY message
 
It works but it's not my favourite!