{"id":27896308,"url":"https://github.com/vemetric/vemetric-node","last_synced_at":"2026-04-04T22:34:32.995Z","repository":{"id":291582324,"uuid":"978056206","full_name":"Vemetric/vemetric-node","owner":"Vemetric","description":"The Vemetric SDK for Node.js, Bun, Deno","archived":false,"fork":false,"pushed_at":"2025-05-05T13:08:12.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T13:53:39.445Z","etag":null,"topics":["bun","deno","node-js","npm","sdk","typescript","vemetric"],"latest_commit_sha":null,"homepage":"https://vemetric.com/docs/sdks/nodejs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vemetric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-05T12:02:55.000Z","updated_at":"2025-05-05T13:08:16.000Z","dependencies_parsed_at":"2025-05-05T13:54:10.530Z","dependency_job_id":"b1f99018-a5a9-4c0d-a558-33e80c5253c3","html_url":"https://github.com/Vemetric/vemetric-node","commit_stats":null,"previous_names":["vemetric/vemetric-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vemetric%2Fvemetric-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vemetric%2Fvemetric-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vemetric%2Fvemetric-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vemetric%2Fvemetric-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vemetric","download_url":"https://codeload.github.com/Vemetric/vemetric-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252534466,"owners_count":21763781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","deno","node-js","npm","sdk","typescript","vemetric"],"created_at":"2025-05-05T16:36:22.320Z","updated_at":"2025-12-30T23:05:03.009Z","avatar_url":"https://github.com/Vemetric.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Vemetric Node SDK](https://github.com/user-attachments/assets/846a7c6b-206b-4c85-bfbd-c4a7c3cb6a3a)\n\n# The Vemetric SDK for Node.js, Bun and Deno\n\nLearn more about the Vemetric Node.js SDK in the [official docs](https://vemetric.com/docs/sdks/nodejs).\n\nYou can also checkout the [NPM Package](https://www.npmjs.com/package/@vemetric/node).\n\n[![NPM Version](https://img.shields.io/npm/v/%40vemetric%2Fnode)](https://www.npmjs.com/package/@vemetric/node)\n\n## Installation\n\n```bash\nnpm install @vemetric/node\n```\n\n## Usage\n\n```ts\nimport { Vemetric } from '@vemetric/node';\n\nconst vemetric = new Vemetric({\n  token: 'YOUR_PROJECT_TOKEN',\n});\n\n// Track an event\nawait vemetric.trackEvent('MyCustomEvent', {\n  userIdentifier: 'user-id',\n  userDisplayName: 'John Doe',\n  eventData: { key: 'value' },\n});\n\n// Update user data\nawait vemetric.updateUser({\n  userIdentifier: 'user-id',\n  userData: {\n    set: { key1: 'value1' },\n    setOnce: { key2: 'value2' },\n    unset: ['key3'],\n  },\n});\n```\n\n## Configuration\n\nThe client can be configured with the following options:\n\n```ts\nconst vemetric = new Vemetric({\n  token: 'YOUR_PROJECT_TOKEN', // Required\n  host: 'https://hub.vemetric.com', // Optional, defaults to https://hub.vemetric.com\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvemetric%2Fvemetric-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvemetric%2Fvemetric-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvemetric%2Fvemetric-node/lists"}