Install

The client runs on Node 22 or later and in current browsers.

npm install acme

Configure

OptionMeaning
apiKeyYour API key. Required.
baseUrlThe API's address. Defaults to Acme's.
timeoutMilliseconds before a request fails. Defaults to 10000.

Keep the API key on your server; in a browser, call your own backend instead.