1. metascraper-logo
Get logo property from HTML markup
metascraper-logo
Package: metascraper-logo
Created by: microlinkhq
Last modified: Sun, 25 Feb 2024 21:19:36 GMT
Version: 5.45.0
License: MIT
Downloads: 56,911
Repository: https://github.com/microlinkhq/metascraper

Install

npm install metascraper-logo
yarn add metascraper-logo

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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin