JS SDK
Learn about the DFend JS SDK.
The DFend JS SDK is a lightweight client library that makes it easy to interact with the DFend API from a JavaScript environment.
Load the SDK
<script defer="defer" src="https://js.dfend.app/sdk/v0/client.js"></script>
Create an instance
const dfend = DFend('<Publishable API Key>');
Do not use the new
keyword.
Methods
Last updated