From 2ddc23a1eae27b1bd962029e56d206e290df5e3b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 11 Aug 2016 10:06:55 -0600 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32c263e..a9b908e 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,16 @@ var certpem = require('certpem').certpem var cert = fs.readFile('cert.pem', 'ascii', function (err, certstr) { // basic info - console.info(certpem.info()); + console.info(certpem.info(certstr)); // way too much info - console.info(certpem.debug()); + console.info(certpem.debug(certstr)); }); ``` +Example output: + ```javascript { "subject": "localhost.daplie.com",