codesnippetjavascript
First you’ll want to run the install script.
Puppeteer’s now globally ready. You can run the following script to use it as you’d expect.
For production level projects or other projects where determinism is important, consider pinning a version, like npm:[email protected]
.