{"id":20147459,"url":"https://github.com/dittofeed/sdk-node","last_synced_at":"2026-06-29T07:31:47.381Z","repository":{"id":186198735,"uuid":"674769870","full_name":"dittofeed/sdk-node","owner":"dittofeed","description":"Dittofeed node SDK, used to send events to Dittofeed from node applications. Dittofeed is an open source customer engagement platform.","archived":false,"fork":false,"pushed_at":"2025-08-04T02:19:03.000Z","size":1182,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T17:13:21.730Z","etag":null,"topics":["customer-engagement","nodejs"],"latest_commit_sha":null,"homepage":"https://www.dittofeed.com/","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/dittofeed.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}},"created_at":"2023-08-04T18:21:25.000Z","updated_at":"2025-08-04T02:19:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"6cda7886-c95c-497f-acc8-a0fb03ee14ac","html_url":"https://github.com/dittofeed/sdk-node","commit_stats":null,"previous_names":["dittofeed/sdk-node"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dittofeed/sdk-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dittofeed%2Fsdk-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dittofeed%2Fsdk-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dittofeed%2Fsdk-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dittofeed%2Fsdk-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dittofeed","download_url":"https://codeload.github.com/dittofeed/sdk-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dittofeed%2Fsdk-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34918101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["customer-engagement","nodejs"],"created_at":"2024-11-13T22:29:08.927Z","updated_at":"2026-06-29T07:31:47.363Z","avatar_url":"https://github.com/dittofeed.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @dittofeed/sdk-node\n\nDittofeed node SDK. Use it to send events to Dittofeed, an open source customer engagement platform, from your node application.\n\n## Installation\n\n```bash\n# Using Yarn\nyarn add @dittofeed/sdk-node\n\n# Using NPM\nnpm install --save @dittofeed/sdk-node\n```\n\n## Usage\n\n```typescript\nimport { DittofeedSdk } from '@dittofeed/sdk-node';\n\n// Initialize the sdk with a writeKey, which is used to identify your\n// workspace. This key can be found at\n// https://dittofeed.com/dashboard/settings\nawait DittofeedSdk.init({\n  writeKey: \"Basic abcdefg...\",\n});\n\n// Lets you tie a user to their actions and record traits about them. It\n// includes a unique User ID and any optional traits you know about the\n// user, like their email, name, and more.\nDittofeedSdk.identify({\n  userId: \"123\",\n  traits: {\n    email: \"john@email.com\",\n    firstName: \"John\"\n  },\n});\n\n// The track call is how you record any actions your users perform, along\n// with any properties that describe the action.\nDittofeedSdk.track({\n  userId: \"123\",\n  event: \"Made Purchase\",\n  properties: {\n    itemId: \"abc\",\n  },\n});\n\n// Lets you record whenever a user sees a screen, the mobile equivalent of\n// page, in your mobile app, along with any properties about the screen.\nDittofeedSdk.screen({\n  userId: \"123\",\n  name: \"Recipe Screen\",\n  properties: {\n    recipeType: \"Soup\",\n  },\n});\n\n// Ensures that asynchronously submitted events are flushed synchronously\n// to Dittofeed's API.\nawait DittofeedSdk.flush();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdittofeed%2Fsdk-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdittofeed%2Fsdk-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdittofeed%2Fsdk-node/lists"}