mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-10 16:17:23 +09:00
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
Languages
TypeScript
76.3%
HTML
11.9%
JavaScript
11.8%