update readme and fix example
This commit is contained in:
parent
c207fee77c
commit
5926783ec4
|
@ -5,13 +5,13 @@ OpenPGP.js
|
|||
|
||||
[](http://travis-ci.org/openpgpjs/openpgpjs)
|
||||
|
||||
### Usage node.js
|
||||
### Node support
|
||||
|
||||
For server side use, install via npm:
|
||||
|
||||
npm install openpgpjs
|
||||
|
||||
Then simply:
|
||||
Example:
|
||||
|
||||
var openpgp = require('openpgpjs);
|
||||
var key = '-----BEGIN PGP PUBLIC KEY BLOCK ... END PGP PUBLIC KEY BLOCK-----';
|
||||
|
|
Loading…
Reference in New Issue
Block a user