v1.0.2: update package and README
This commit is contained in:
parent
d49b5dc747
commit
8eaa2214d3
@ -23,7 +23,7 @@ Features
|
|||||||
You can install `ssh-fingerprint` and use it from command line:
|
You can install `ssh-fingerprint` and use it from command line:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g ssh-fingerprint
|
npm install -g greenlock-ssh-fingerprint
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -44,7 +44,7 @@ You can also use it from JavaScript:
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var SSH = require('ssh-fingerprint');
|
var SSH = require('greenlock-ssh-fingerprint');
|
||||||
var pub = fs.readFileSync("./id_rsa.pub");
|
var pub = fs.readFileSync("./id_rsa.pub");
|
||||||
|
|
||||||
SSH.fingerprint({ pub: pub }).then(function (fing) {
|
SSH.fingerprint({ pub: pub }).then(function (fing) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "greenlock-ssh-fingerprint",
|
"name": "greenlock-ssh-fingerprint",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "💯 SSH Fingerprint in < 125 lines of VanillaJS node, Zero Dependencies.",
|
"description": "💯 SSH Fingerprint in < 125 lines of VanillaJS node, Zero Dependencies.",
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/ssh-fingerprint.js",
|
"homepage": "https://git.coolaj86.com/coolaj86/ssh-fingerprint.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user