metascraper-logo
TypeScript icon, indicating that this package has built-in type declarations

5.45.0 • Public • Published

metascraper

metascraper-logo: Get logo property from HTML markup.

See our website for more information.


Install

$ npm install metascraper-logo --save

API

metascraper-logo([options])

options

filter

Type: function

A function to filter results in case it passes a test implemented by the provided function. It is the url as the first parameter:

const metascraper = require('metascraper')([
  require('metascraper-logo')({
    filter: url => url.endsWith('.png')
  })
])

License

metascraper-logo © Microlink, released under the MIT License.
Authored and maintained by Microlink with help from contributors.

microlink.io · GitHub microlinkhq · Twitter @microlinkhq

/metascraper-logo/

    Package Sidebar

    Install

    npm i metascraper-logo

    Weekly Downloads

    11,589

    Version

    5.45.0

    License

    MIT

    Unpacked Size

    4.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • kikobeats