url-snippets
Npm package to retrieve the page title, description, images by given url.
Installation
Installation is easiest through npm:
npm install url-snippets --save
Usage
var urlSnippets = ;//urlSnippets(url,optional_array,callback); ;//isValid => URL validation is true or false//title => URL page title//meta => URL meta description, keywords...//p => fetch all paragraph details//img => fetch all image sources//html => Get page content /* { url: 'url', isValidUrl: true, title: '...', meta: { viewport: '...', author: '....', description: '...', keywords: '...' }, img: [ '.....','.....' ], p: [ '.....','.....']}*/