summaly/README.md
2016-09-13 06:02:27 +09:00

31 lines
613 B
Markdown

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
``` javascript
import webcard from 'webcard';
const html = await webcard('http://example.com', {
proxy: 'https://your.proxy.com'
});
```
License
-------
[MIT](LICENSE)