Skip to content

Commit 189b3e5

Browse files
author
Eiman Eltigani
committed
add link to npm packages in readme
1 parent 0b5ec06 commit 189b3e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • web-integrations/javascript-sdk/server-side-node

web-integrations/javascript-sdk/server-side-node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For more information on the JavaScript SDK, refer to the [UID2 SDK for JavaScrip
1010

1111
Unlike the browser where the SDK runs natively in the DOM, this example uses **jsdom** to simulate a browser environment within Node.js:
1212

13-
1. **Imports the SDK**: Uses npm packages `@uid2/uid2-sdk` or `@unified-id/euid-sdk` (selected dynamically based on `IDENTITY_NAME`)
13+
1. **Imports the SDK**: Uses npm packages [`@uid2/uid2-sdk`](https://www.npmjs.com/package/@uid2/uid2-sdk) or [`@unified-id/euid-sdk`](https://www.npmjs.com/package/@unified-id/euid-sdk) (selected dynamically based on the `IDENTITY_NAME` environment variable)
1414
2. **Creates a virtual DOM**: Uses jsdom to provide `window`, `document`, and `navigator` objects that the SDK expects
1515
3. **Polyfills browser APIs**: Adds Node.js equivalents for Web Crypto API (`crypto.subtle`) and text encoding APIs (`TextEncoder`/`TextDecoder`)
1616
4. **Instantiates the SDK**: Creates a new instance of `UID2` or `EUID` class

0 commit comments

Comments
 (0)