From 5926783ec4363b105869d8a26774ad596ed81ca1 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Fri, 10 Jan 2014 23:48:40 +0100 Subject: [PATCH] update readme and fix example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index feb3dadc..e7303248 100644 --- a/README.md +++ b/README.md @@ -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-----';