Socket
Socket
Sign inDemoInstall

@types/extract-files

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/extract-files

TypeScript definitions for extract-files


Version published
Weekly downloads
258K
decreased by-2.43%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/extract-files

Summary

This package contains type definitions for extract-files (https://github.com/jaydenseric/extract-files#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extract-files.

index.d.ts

export interface ReactNativeFileOptions {
    uri: string;
    type?: string | undefined;
    name?: string | undefined;
}

export class ReactNativeFile {
    uri: string;
    type?: string | undefined;
    name?: string | undefined;

    constructor(options: ReactNativeFileOptions);
}

export type ExtractableFile = File | Blob | ReactNativeFile;

export function isExtractableFile(value: any): value is ExtractableFile;

export function extractFiles<TFile = ExtractableFile>(
    value: any,
    path?: string,
    isExtractableFile?: (value: any) => value is TFile,
): {
    clone: any;
    files: Map<TFile, string[]>;
};

Additional Details

  • Last updated: Wed, 18 Oct 2023 01:17:34 GMT
  • Dependencies: none

Credits

These definitions were written by Edward Sammut Alessi, and Alex K.

FAQs

Last updated on 18 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc