1.0.4 • Published 7 years ago

apem v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

apem

Build Status Code Climate Code Coverage npm Version JS Standard

Pem generator

Installation

$ npm install apem --save

Usage

'use strict'

const { selfSigned } = require('apem')
const co = require('co')
const writeout = require('writeout')

co(function * () {
  {
    let { key, cert } = yield selfSigned()
    yield writeout('www.example.com.crt', cert)
    yield writeout('www.example.com.key', key)
  }
}).catch((err) => console.error(err))

Functions

Available functions

SignatureDescription
.selfSigned() -> Promise.<Object>Create self-signed cert and keys

License

This software is released under the MIT License.

Links

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago