@gasbuddy/composert

1.0.0 • Public • Published

Composert

Split and concat pem-encoded certs to be supplied as a CA list to an HTTPS agent.

API

(require("@gasbuddy/composert"))(...path, [callback]) ⇒ undefined | Promise

Split pem-encoded crts into individual certs in an array

Kind: Exported function
Returns: undefined | Promise - returns a Promise if callback not provided

Param Type Description
...path string fs path to a .pem.crt
[callback] function an optional callback

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @gasbuddy/composert

    Weekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • msimeon
    • aureliamoore
    • djmax