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

5.14.5 • Public • Published

Installation

npm install --save @types/metascraper-description

Summary

This package contains type definitions for metascraper-description (https://nicedoc.io/microlinkhq/metascraper/packages/metascraper-description).

Details

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

index.d.ts

import metascraper = require("metascraper");

declare namespace getData {
    interface Options {
        /** Truncate the value extracted to a maximum size (default: `300`). */
        truncateLength?: number | undefined;
    }
}

declare function getData(options?: getData.Options): metascraper.Rules;

export = getData;

Additional Details

Credits

These definitions were written by Florian Imdahl.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/metascraper-description

Weekly Downloads

1,619

Version

5.14.5

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types