Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 613 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 613 Bytes

webcard

Generate an html of any web page's summary.

Installation

$ npm install webcard

Usage

(url: string, options: Options) => Promise<string>

Options

Property Type Description Default
proxy string URL of proxy that wrap non-https contents null

Example

import webcard from 'webcard';

const html = await webcard('http://example.com', {
  proxy: 'https://your.proxy.com'
});

License

MIT