46

GitHub - typicode/tlapse: Create a timelapse of your web development... or just...

 6 years ago
source link: https://github.com/typicode/tlapse
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

tlapse

Create a timelapse of your web development camera

A tiny utility that takes periodic screenshots of your site while you develop. Uses Puppeteer for creating beautiful high resolution screenshots cherry_blossom.

Usage

npm install npm-run-all tlapse --save-dev
{
  "scripts": {
    "dev": "run-p server tlapse",
    "server": "node server",
    "tlapse": "tlapse localhost:3000"
  }
}
npm run dev

Note npm-run-all lets you run scripts in parallel and makes sure that both tlapse and server are started.

Options tlapse can be configured to use different screenshot resolution, interval, etc... to view available options run

tlapse --help

Articles

License

MIT - - Patreon


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK