install

@vinktar/node

Servers, workers and scripts, with per-request scoping. Both jobs from one package: the same key sends events and errors, and identify() joins them to a person.

npm install @vinktar/node

3 · verify

Run the process. Events flush every 10 s or at 20 queued; call shutdown() before a script exits.

the join

Anonymous activity is kept under the device. The first identify() with a user id binds that device to the person, and everything before it resolves to them retroactively. A device binds once; call reset() on logout so the next person gets a fresh one. The full rules are in api.md.

Already on Sentry? Point the DSN at us and errors flow tonight.