apem
Pem generator
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apem 
SYNC missed versions from official npm registry.

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

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

License

This software is released under the MIT License.

Links

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

5 Versions

  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 5
This Month 10
Last Day 5
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |