shoty
v1.0.0
Published
animated and static element screenshots
Downloads
3
Readme
animated and static element screenshots
CLI
Examples
import { Options, run } from 'shoty'
run(
new Options({
file: 'web.ts',
root: __dirname,
})
).then(() => console.log('complete'))
document.body.innerHTML = `<h1 id="demo">hello world!</h1>`
API
Credits
- @stagas/terminal-screenshot by stagas – Render terminal ANSI output into images!
- @stagas/timecut by stagas – Record smooth movies of web pages
- decarg by stagas – decorator based cli arguments parser
- puppeteer by The Chromium Authors – A high-level API to control headless Chrome over the DevTools Protocol
- puppeteer-pretty-console by stagas – helper that setups console output for puppeteer
- vite by Evan You – Native-ESM powered web dev build tool
- vite-open by stagas – Open any file directly in a Vite dev server.
Contributing
All contributions are welcome!
License
MIT © 2022 stagas