CLI for capturing offline snapshots of web pages.
npm install @pagepocket/cliCLI for capturing offline snapshots of web pages using the PagePocket library and
NetworkInterceptorAdapter event streams.
``bash`
npm i -g @pagepocket/cli
`bash`
pp https://example.com
pp https://example.com -o ./snapshots
pp https://example.com -o ./snapshots --overwrite
Snapshots are written to a folder named after the page title (or snapshot) inside
the output directory (default: current directory). Example layout:
``
`bash``
pnpm install
pnpm --filter @pagepocket/cli build