Skip to content

Commit b224393

Browse files
committed
Update readme
1 parent 198f473 commit b224393

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
> The [`assert`](https://nodejs.org/api/assert.html) module from Node.js, for the browser.
44
5-
[![Build Status](https://travis-ci.org/browserify/commonjs-assert.svg?branch=sync-with-node-master)](https://travis-ci.org/browserify/commonjs-assert)
6-
[![npm](https://img.shields.io/npm/dm/create-xpub.svg)](https://www.npmjs.com/package/create-xpub)
7-
[![npm](https://img.shields.io/npm/v/create-xpub.svg)](https://www.npmjs.com/package/create-xpub)
5+
[![Build Status](https://travis-ci.org/browserify/commonjs-assert.svg?branch=master)](https://travis-ci.org/browserify/commonjs-assert)
6+
[![npm](https://img.shields.io/npm/dm/commonjs-assert.svg)](https://www.npmjs.com/package/commonjs-assert)
7+
[![npm](https://img.shields.io/npm/v/commonjs-assert.svg)](https://www.npmjs.com/package/commonjs-assert)
88

99
With browserify, simply `require('assert')` or use the `assert` global and you will get this module.
1010

@@ -15,7 +15,7 @@ The goal is to provide an API that is as functionally identical to the [Node.js
1515
To use this module directly (without browserify), install it as a dependency:
1616

1717
```
18-
npm install buffer
18+
npm install assert
1919
```
2020

2121
## Usage
@@ -24,7 +24,7 @@ The goal is to provide an API that is as functionally identical to the [Node.js
2424

2525
### Inconsistencies with Node.js `assert`
2626

27-
// TODO
27+
Due to differences between browsers, some error properties such as `message` and `stack` will be inconsistent. However the assertion behaviour is as close as possible to Node.js and the same error `code` will always be used.
2828

2929
## Contributing
3030

0 commit comments

Comments
 (0)