Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thum.io

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thum.io

Thum.io API for JS (can be used in the browser or in Node)

  • 1.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
89
decreased by-76.08%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 21 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc