Add usage stub
This commit is contained in:
parent
19129b0903
commit
6bd50e7ddd
12
README.md
12
README.md
|
@ -2,6 +2,18 @@
|
|||
|
||||
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
|
||||
|
||||
bitmessage - JavaScript Bitmessage library
|
||||
|
|
Loading…
Reference in New Issue
Block a user