update readme and fix example

This commit is contained in:
Tankred Hase 2014-01-10 23:48:40 +01:00
parent c207fee77c
commit 5926783ec4

View File

@ -5,13 +5,13 @@ OpenPGP.js
[![Build Status](https://secure.travis-ci.org/openpgpjs/openpgpjs.png?branch=master,v0.1.x)](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-----';