1.1.1 • Published 5 years ago

url-preview v1.1.1

Weekly downloads
3
License
ISC
Repository
-
Last release
5 years ago

This package fetches meta-data of your url to display your url preview.

Example usage:

import { urlPreview } from 'url-preview'; //import library

. . .

urlPreview(<your-url>).then(data => console.log(data));

Example response:

urlPreview("gogoapps.io").then(data => console.log(data));


{
	msapplication-TileColor: "#ffffff"
	msapplication-TileImage: "/ms-icon-144x144.png"
	og:description: "GogoApps has helped 70+ SMBs,Startups and Educational Institutions create world-class applications and design."
	og:image: "https://gogoapps.io/static/other/thumbnail.png"
	og:title: "GogoApps"
	og:type: "website"
	og:url: "https://gogoapps.io/"
	theme-color: "#ffffff"
	viewport: "width=device-width, initial-scale=1.0 maximum-scale=1.0"
}

Ready for usage with url below:

http://jukebox.vote/v1/scrapUrl?url=<your-url>
http://jukebox.vote/v1/scrapUrl?url=gogoapps.io
1.1.1

5 years ago

1.1.0

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago