Neurophysiologically Pseudoscientific Manatee

    @types/metascraper
    TypeScript icon, indicating that this package has built-in type declarations

    5.14.1 • Public • Published

    Installation

    npm install --save @types/metascraper

    Summary

    This package contains type definitions for metascraper (https://metascraper.js.org).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/metascraper.

    index.d.ts

    // Type definitions for metascraper 5.14
    // Project: https://metascraper.js.org
    // Definitions by: Florian Imdahl <https://github.com/ffflorian>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    declare namespace metascraper {
        type Rule = Record<string, any>;
    
        interface Options {
            html: string;
            rules?: Rule[] | undefined;
            url: string;
        }
    }
    
    declare function getData(options: metascraper.Options): Promise<Record<string, string>>;
    declare function metascraper(rules: metascraper.Rule[]): typeof getData;
    
    export = metascraper;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 18:50:43 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Florian Imdahl.

    Keywords

    none

    Install

    npm i @types/metascraper

    DownloadsWeekly Downloads

    541

    Version

    5.14.1

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    4

    Last publish

    Collaborators

    • types