Generate an html of any web page's summary.
$ npm install webcard
(url: string, options: Options) => Promise<string>
Property | Type | Description | Default |
---|---|---|---|
proxy | string | URL of proxy that wrap non-https contents | null |
import webcard from 'webcard';
const html = await webcard('http://example.com', {
proxy: 'https://your.proxy.com'
});