🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

@types/pdf-parse

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pdf-parse

TypeScript definitions for pdf-parse

Source
npmnpm
Version
1.1.3
Version published
Weekly downloads
817K
8.57%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/pdf-parse

Summary

This package contains type definitions for pdf-parse (https://gitlab.com/autokent/pdf-parse).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdf-parse.

index.d.ts

export = PdfParse;

declare function PdfParse(dataBuffer: Buffer, options?: PdfParse.Options): Promise<PdfParse.Result>;

declare namespace PdfParse {
    type Version = "default" | "v1.9.426" | "v1.10.100" | "v1.10.88" | "v2.0.550";
    interface Result {
        numpages: number;
        numrender: number;
        info: any;
        metadata: any;
        version: Version;
        text: string;
    }
    interface Options {
        pagerender?: ((pageData: any) => string) | undefined;
        max?: number | undefined;
        version?: Version | undefined;
    }
}

Additional Details

  • Last updated: Wed, 18 Oct 2023 05:47:08 GMT
  • Dependencies: none

Credits

These definitions were written by Philipp Katz.

FAQs

Package last updated on 18 Oct 2023

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