Update README.md

This commit is contained in:
AJ ONeal 2016-08-11 10:01:24 -06:00 committed by GitHub
parent 263d5a11c5
commit bed12df898
1 changed files with 6 additions and 2 deletions

View File

@ -30,9 +30,13 @@ Output all info by passing `--debug` or use `--json` to see the basic info prett
var certpem = require('certpem').certpem
var cert = fs.readFile('cert.pem', 'ascii', function (err, certstr) {
console.info(cert.pem.info());
console.info(cert.pem.debug());
// basic info
console.info(certpem.info());
// way too much info
console.info(certpem.debug());
});
```