Skip to content

Commit

Permalink
readme_js.md
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Oct 17, 2017
1 parent 453725b commit 786a9bf
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/README_js.md
Expand Up @@ -51,19 +51,17 @@ To use this module in the browser, you would typlically use
package your code. However, browser-ready versions are available via wzrd.in.
E.g. For the full version:

<script src="http://wzrd.in/standalone/mime@latest"></script>
<script src="https://wzrd.in/standalone/mime@latest"></script>
<script>
mime.getType(...); // etc.
<script>

Or, for the "lite" version:
Or, for the `mime/lite` version:

<script src="http://wzrd.in/standalone/mime%2flite@latest"></script>

Then:

```html
<script>
mime.getType(...); // etc.
</script>
```
<script src="https://wzrd.in/standalone/mime%2flite@latest"></script>
<script>
mimelite.getType(...); // (Note `mimelite` here)
<script>

## Mime .vs. mime-types .vs. mime-db modules

Expand Down

0 comments on commit 786a9bf

Please sign in to comment.