Skip to content

Commit

Permalink
docs: improve readability for Web Browser usage (#313)
Browse files Browse the repository at this point in the history
Ref: #313
Clarification of the the options for users who are willing to use this on the browser
  • Loading branch information
tinhochu committed Apr 7, 2024
1 parent 8dcdcc7 commit 2d87025
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -23,10 +23,7 @@ npm install mime-db

### Database Download

If you're crazy enough to use this in the browser, you can just grab the
JSON file using [jsDelivr](https://www.jsdelivr.com/). It is recommended to
replace `master` with [a release tag](https://github.com/jshttp/mime-db/tags)
as the JSON format may change in the future.
If you intend to use this in a web browser, you can conveniently access the JSON file via [jsDelivr](https://www.jsdelivr.com/), a popular CDN (Content Delivery Network). To ensure stability and compatibility, it is advisable to specify [a release tag](https://github.com/jshttp/mime-db/tags) instead of using the 'master' branch. This is because the JSON file's format might change in future updates, and relying on a specific release tag will prevent potential issues arising from these changes.

```
https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
Expand Down

0 comments on commit 2d87025

Please sign in to comment.