From c112ec4d21d90e3537e57cd2e14635ec3b5eead6 Mon Sep 17 00:00:00 2001 From: Saugat Acharya Date: Thu, 15 Aug 2019 22:56:38 +0545 Subject: [PATCH] Remove duplicate line under usage section This line is already there after the description. > 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. --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index e2cc9e1..ac81fe4 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,7 @@ To use this module directly (without browserify), install it as a dependency: npm install assert ``` -## Usage - -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. - -### Inconsistencies with Node.js `assert` +## Inconsistencies with Node.js `assert` 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.