JSPM

metascraper-logo

5.46.15
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28430
  • Score
    100M100P100Q153344F
  • License MIT

Get logo property from HTML markup

Package Exports

  • metascraper-logo
  • metascraper-logo/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (metascraper-logo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


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