webcard
v0.0.1
Published
Generate an html of any web page's summary
Downloads
5
Readme
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'
});