puppet-run
puppet-run copied to clipboard
🤖 Run anything JavaScript in a headless Chrome from your command line
- Rewrite readme - Add more markdown documents: Samples, recipes, detailed usage - Document CLI usage in readme - Logical flow: Install, run script file, run HTML file, explain `window.headless`,...
Not just as a CLI tool, but I also want to be able to `const PuppetRun = require("puppet-run")`.
Instead of having to manually call `puppet.exit()`, make it a convention-based API: Each JS/TS entrypoint must `export default` a promise or a function returning a promise. When this promise resolves,...
We already supported them when we used parcel, but now we don't anymore. Bring back the functionality and support resolving local paths in the HTML.
I'm getting a "Missing class properties transform." from babel when trying to run TypeScript files.
It would be really nice to get coverage reports by using [`nyc`](https://github.com/istanbuljs/nyc): ``` nyc puppet-run plugin:mocha [...mocha options] ./path/to/*.test.js ``` `nyc` automatically instruments the code running in the node process...