Update README.md
This commit is contained in:
parent
263d5a11c5
commit
bed12df898
@ -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 certpem = require('certpem').certpem
|
||||||
var cert = fs.readFile('cert.pem', 'ascii', function (err, certstr) {
|
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());
|
||||||
|
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user