@snowplow/signals-node
v0.2.0
Published
[](https://opensource.org/license/apache-2-0) [](https://www.npmjs.com/packag
Readme
Snowplow Signals Node.js SDK
This is the Snowplow Signals SDK for Node.js environments.
Installation
npm i @snowplow/signals-node
# or
yarn add @snowplow/signals-node
# or
pnpm i @snowplow/signals-nodeUsage
const signals = new Signals({
baseUrl: SIGNALS_DEPLOYED_URL,
apiKey: CONSOLE_API_KEY,
apiKeyId: CONSOLE_API_KEY_ID,
organizationId: ORG_ID,
});
const attributes = await signals.getServiceAttributes({
attribute_key: "domain_sessionid",
identifier: "e24d3aaa-160e-40de-a569-1580fb3ad6d7",
name: "session_attributes",
});