metascraper-logo
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/metascraper-logo package

5.40.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

Readme

Keywords

Package Sidebar

Install

npm i metascraper-logo

Weekly Downloads

12,557

Version

5.40.0

License

MIT

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • kikobeats