Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored Sep 12, 2016
1 parent 80b010a commit 7d40c19
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ Installation
------------
`$ npm install webcard`

Usage
-----
`(url: string, opts: 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)

0 comments on commit 7d40c19

Please sign in to comment.