npm.io
5.51.1 • Published 1 month ago

metascraper-logo

Licence
MIT
Version
5.51.1
Deps
2
Size
5 kB
Vulns
0
Weekly
0
Stars
2.7K

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

Keywords