linkshot
v1.0.0
Published
screenshot a website using a url with auto save file
Downloads
1
Maintainers
Readme
features:• no need apikey• auto save file• simple and easy• built in donwloader• HD quality• png file format
installation
npm i linkshot
usages
link
⟱ autosave file format as linkshot.png
options
⟱ autosave with your own file format
calling a variable
const screenshot = require("linkshot");
link
example:
screenshot.link("WEB URL");
the output is automatically donwloaded and render as linkshot.png
the file directory gonna save on your main file
options
example:
screenshot.options({
url: "WEB URL",
file: "example.png"
})
the output is depends on your file name format also you can render it on any format jpg
jpeg
webp
etc.
the file directory gonna save depends on you if you want to save it on your folder just use
file: __dirname + "/cache/example.png"