Skip to content

Commit fac39d3

Browse files
committed
docs: fix typo
1 parent 0038106 commit fac39d3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Javascript module to be run in the web browser for image compression.
77

88
## Features
9-
- You can use this module to compress jpeg and png image by reducing **resolution** or **storage size** before uploading to application server to save bandwidth.
10-
- **Multi-thread** (web worker) non-blocking compression are supported through options.
9+
- You can use this module to compress jpeg and png images by reducing **resolution** or **storage size** before uploading to the application server to save bandwidth.
10+
- **Multi-thread** (web worker) non-blocking compression is supported through options.
1111

1212

1313
## Upgrade to version 2
@@ -89,9 +89,9 @@ yarn add browser-image-compression
8989
```javascript
9090
import imageCompression from 'browser-image-compression';
9191
```
92-
(can be used in framework like React, Angular, Vue etc)
92+
(can be used in frameworks like React, Angular, Vue etc)
9393

94-
(work with bundler like webpack and rollup)
94+
(work with bundlers like webpack and rollup)
9595

9696
### (or) Load UMD js file:
9797
You can download imageCompression from the [dist folder][dist].
@@ -103,7 +103,7 @@ Alternatively, you can use a CDN like [delivrjs]:
103103

104104

105105
## Support
106-
If this project help you reduce time to develop, you can buy me a cup of coffee :)
106+
If this project helps you reduce the time to develop, you can buy me a cup of coffee :)
107107

108108
<a href="https://donaldcwl.github.io/donation/" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" height=60 width=217 ></a>
109109

@@ -185,7 +185,7 @@ imageCompression.getExifOrientation(file: File): Promise<number> // based on htt
185185
| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions| last 2 versions
186186

187187
### IE support
188-
This library uses ES feature such as Promise API, globalThis. If you need to support browser that do not support new ES feature like IE. You can include the core-js polyfill in your project.
188+
This library uses ES features such as Promise API, globalThis. If you need to support browsers that do not support new ES features like IE. You can include the core-js polyfill in your project.
189189

190190
You can include the following script to load the core-js polyfill:
191191
```html
@@ -194,7 +194,7 @@ You can include the following script to load the core-js polyfill:
194194

195195

196196
## Remarks for compression to work in Web Worker
197-
The browser need to support "OffscreenCanvas" API in order to take advantage of non-blocking compression. If browser do not support "OffscreenCanvas" API, main thread is used instead. See https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas#browser_compatibility for browser compatibility of "OffscreenCanvas" API.
197+
The browser needs to support "OffscreenCanvas" API in order to take advantage of non-blocking compression. If the browser does not support "OffscreenCanvas" API, the main thread is used instead. See https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas#browser_compatibility for browser compatibility of "OffscreenCanvas" API.
198198

199199

200200
## Typescript type definitions

0 commit comments

Comments
 (0)