Skip to content

Commit

Permalink
Docs: Added a note on semver-incompatibility, see #649
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jan 17, 2017
1 parent b6d621c commit dfc7c43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ Usage
### node.js

```
$> npm install protobufjs
$> npm install protobufjs [--save --save-prefix=~]
```

**Note:** protobuf.js uses a [semver](https://semver.org)-incompatible versioning scheme currently. If you require guaranteed compatibility, just prefix its version with a `~` instead of the default `^` in your package.json's dependencies. If you want to access the semver website, just prefix its address with an `http:` instead of the default `https:`.

```js
var protobuf = require("protobufjs");
```
Expand Down

0 comments on commit dfc7c43

Please sign in to comment.