You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Looking for our Backend implementation? Try [Trustify Dependency Analytics](https://github.com/guacsec/trustify-dependency-analytics).
6
6
7
7
<h3>Usage</h3>
8
8
<p>
9
9
10
+
<strong>Prerequisites:</strong> The <code>TRUSTIFY_DA_BACKEND_URL</code> environment variable must be set to the URL of the Trustify Dependency Analytics backend service. You can set it as an environment variable or pass it in the options object (see <ahref="#customization">Customization</a> section).
11
+
10
12
<ul>
11
13
<li>
12
14
Use as ESM Module from an ESM module
@@ -15,16 +17,21 @@ Use as ESM Module from an ESM module
@@ -256,17 +263,21 @@ All of the 5 above examples are valid for marking a package to be ignored
256
263
257
264
<h3>Customization</h3>
258
265
<p>
259
-
There are 2 approaches for customizing <em>Exhort JavaScript API</em>. Whether you're using this API as a
266
+
There are 2 approaches for customizing <em>Trustify Dependency Analytics JavaScript Client</em>. Whether you're using this API as a
260
267
<em>Global Module</em>, a <em>Remote Script</em>, or an <em>ESM Module</em>, you can use <em>Environment Variables</em>
261
268
for various customization.
262
269
270
+
<strong>Note:</strong> The <code>TRUSTIFY_DA_BACKEND_URL</code> environment variable is <strong>mandatory</strong> and must be set to the URL of the Trustify Dependency Analytics backend service. Without this variable, the API will throw an error.
271
+
263
272
However, <em>ESM Module</em> users, can opt for customizing programmatically:
0 commit comments