1.0.9 • Published 5 years ago

thum.io v1.0.9

Weekly downloads
97
License
MIT
Repository
github
Last release
5 years ago

Thum.io JS API

JS bindings for Thum.io, a fast and reliable website screenshot generator. Can be used in the browser or in Node.

Installation

npm install --save thum.io

Documentation

import { getThumURL } from 'thum.io'

console.log(getThumURL({ url: 'https://bbc.com' }));
// '//image.thum.io/get/https://bbc.com'

Full list of options

OptionType
urlString
authString \| { keyId: Number, secret: String, type: 'raw' \| 'md5' \| 'referer'}
maxAgeNumber
widthNumber
cropNumber
pngBoolean
ogImageBoolean
protocolString
1.0.9

5 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago