meta-fetcher
Simple metadata scrapper for node.js. Under the hood it uses isomorphic-unfetch
to fetch the metadata, parses it and returns it as json object.
Installation
npm install meta-fetcher
or use yarn
yarn add meta-fetcher
Usage
import metaFetcher from 'meta-fetcher';
(async () => {
const result = await metaFetcher('https://hoppscotch.io/');
console.log(result);
})();
API
metaFetcher(input)
Takes one url string as a parameter and returns an object containing the meta-information.
input
type: string
default: 'none'
The url string to be scrapped.
Related
Here are some related projects
- page-scrapper: 📦 node.js scrapper that pulls out all links and images of a given site.
License
MIT