metascraper-logo
v5.45.25
Published
Get logo property from HTML markup
Downloads
61,861
Readme
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