You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-pdf-to-image-light

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-pdf-to-image-light

slipt pdf file to image

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

pdftoimage

slipt pdf file to image

NPM JavaScript Style Guide

Install

npm install --save pdftoimage

Usage

import React, { Component } from 'react'

import { PDFToImage } from 'react-pdf-to-image-light'

class Example extends Component {
  
  onConvertPDFToImage = () => {
    PDFToImage({
      blob: "", // source pdf base64 string. need to be starting with the prefix "data:application/pdf;base64," 
      scale: 1, 
    }).then(result => {
      console.log(result);
    }).catch(console.error)
  }

  render() {
    return <MyComponent />
  }
}

License

MIT © mtoan2111

FAQs

Package last updated on 09 Mar 2022

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