Add usage stub

This commit is contained in:
Kagami Hiiragi 2014-12-13 21:59:48 +03:00
parent 19129b0903
commit 6bd50e7ddd

View File

@ -2,6 +2,18 @@
JavaScript Bitmessage library for both browserify and node. JavaScript Bitmessage library for both browserify and node.
## Usage
You need ES6 Promise available in order to use this module. Use some sort of ES6 runtime or just apply polyfill:
```js
require("es6-promise").polyfill();
```
```js
var bitmessage = require("bitmessage");
```
## License ## License
bitmessage - JavaScript Bitmessage library bitmessage - JavaScript Bitmessage library