Skip to content

Commit

Permalink
📝 Update readme with unpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Oct 3, 2017
1 parent 6551424 commit 1131755
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ wretch("endpoint")
npm i -D wretch
```

## Download

<a href="https://raw.githubusercontent.com/elbywan/wretch/master/dist/bundle/wretch.js" download>dist/bundle/wretch.js</a>

## Clone

```sh
Expand Down Expand Up @@ -146,15 +142,15 @@ global.FormData = require("form-data")

```html
<!--- "wretch" will be attached to the global window object. -->
<script src="path/to/wretch.js"></script>
<script src="https://unpkg.com/wretch/dist/bundle/wretch.js"></script>
```

```typescript
// new school
// es2015 modules
import wretch from "wretch"

// old school
const wretch = require("wretch")
// commonjs
var wretch = require("wretch")
```

## Code
Expand Down

0 comments on commit 1131755

Please sign in to comment.