nginx / njs-acme

Nginx NJS module runtime to work with ACME providers like Let's Encrypt for automated no-reload TLS certificate issue/renewal.
Apache License 2.0
60 stars 9 forks source link

Re-Export Lib Functions in `index.ts` #7

Open zsteinkamp opened 1 year ago

zsteinkamp commented 1 year ago

Problem Statement

For users of njs-acme that want to develop their own flows, importing the utility functions requires less-than-ideal import syntax.

Proposed Solution

Re-export the library and client utility methods in index.ts.

From @ivanitskiy:

let's re-export all utils, and api/client so somebody can use them to implement their own request handler.