Skip to content

Commit 3073154

Browse files
committed
Add notice about browser support.
1 parent 8969d8e commit 3073154

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ With browserify, simply `require('assert')` or use the `assert` global and you w
1010

1111
The goal is to provide an API that is as functionally identical to the [Node.js `assert` API](https://nodejs.org/api/assert.html) as possible. Read the [official docs](https://nodejs.org/api/assert.html) for API documentation.
1212

13+
> `assert` supports modern browsers. Older browsers may require shimming functionality.
14+
> In Internet Explorer and other environments without `Promise`, the `throws`/`rejects` family of methods requires a Promise shim.
15+
> In Internet Explorer 8-10, the shim and sham versions of [es5-shim](https://github.com/es-shims/es5-shim) are also required.
16+
1317
## Install
1418

1519
To use this module directly (without browserify), install it as a dependency:

0 commit comments

Comments
 (0)