Skip to content

Files

Latest commit

dd63f32 · Jun 28, 2025

History

History

metascraper-logo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 12, 2025
Jun 28, 2025
Jul 24, 2024
Jun 28, 2025

README.md


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 · X @microlinkhq