update deps and README
This commit is contained in:
parent
7d42b74dea
commit
300d2509ff
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
docs/
|
||||
coverage/
|
16
README.md
16
README.md
@ -1,2 +1,16 @@
|
||||
# Cert
|
||||
Easily setup coreos clusters with encryption for communication between nodes.
|
||||
Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeScript ready.
|
||||
|
||||
## Usage
|
||||
|
||||
```typescript
|
||||
import {Cert} from "cert";
|
||||
|
||||
myCert = new Cert({
|
||||
cfEmail = "some@cloudflare.email",
|
||||
cfKey = "someCloudflareApiKey",
|
||||
outputPath = "someOutputPath" // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones
|
||||
});
|
||||
|
||||
myCert.getDomainCert("example.com");
|
||||
```
|
@ -21,5 +21,8 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/pushrocks/cert/issues"
|
||||
},
|
||||
"homepage": "https://github.com/pushrocks/cert#readme"
|
||||
"homepage": "https://github.com/pushrocks/cert#readme",
|
||||
"dependencies": {
|
||||
"letsencrypt": "^1.4.4"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user