{"id":18951034,"url":"https://github.com/moonwalker/graphql-nats-subscriptions","last_synced_at":"2026-02-22T22:05:39.204Z","repository":{"id":48022778,"uuid":"108400438","full_name":"moonwalker/graphql-nats-subscriptions","owner":"moonwalker","description":"A graphql subscriptions implementation using nats and apollo's graphql-subscriptions","archived":false,"fork":false,"pushed_at":"2024-04-05T08:28:50.000Z","size":70,"stargazers_count":30,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T04:51:17.941Z","etag":null,"topics":["graphql","graphql-subscriptions","nats"],"latest_commit_sha":null,"homepage":"","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/moonwalker.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":"2017-10-26T11:06:53.000Z","updated_at":"2024-08-05T09:54:26.000Z","dependencies_parsed_at":"2024-06-19T01:41:36.593Z","dependency_job_id":null,"html_url":"https://github.com/moonwalker/graphql-nats-subscriptions","commit_stats":{"total_commits":29,"total_committers":4,"mean_commits":7.25,"dds":"0.31034482758620685","last_synced_commit":"8f023b2b558494e7675d31fdb74844ba891dcd35"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fgraphql-nats-subscriptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fgraphql-nats-subscriptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fgraphql-nats-subscriptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fgraphql-nats-subscriptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonwalker","download_url":"https://codeload.github.com/moonwalker/graphql-nats-subscriptions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248574109,"owners_count":21126954,"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":["graphql","graphql-subscriptions","nats"],"created_at":"2024-11-08T13:26:02.363Z","updated_at":"2026-02-22T22:05:34.161Z","avatar_url":"https://github.com/moonwalker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-nats-subscriptions\n\nThis package implements the PubSubEngine Interface from the graphql-subscriptions package and also the new AsyncIterator interface. It allows you to connect your subscriptions manger to a nats based Pub Sub mechanism to support multiple subscription manager instances.\n\n## Usage\n\n```javascript\nimport { NatsPubSub } from '@moonwalker/graphql-nats-subscriptions'\n\nconst pubsub = new NatsPubSub() // default connecting to nats://localhost:4222\n// or\nconst pubsub = new NatsPubSub({ servers: ['nats://nats.io:4222', 'nats://nats.io:5222', 'nats://nats.io:6222'] })\n// or\nimport * as nats from \"nats\"\n\nconst client = nats.connect();\nconst pubsub = new NatsPubSub({ nc: client })\n\n// for more options see: https://github.com/nats-io/node-nats\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonwalker%2Fgraphql-nats-subscriptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonwalker%2Fgraphql-nats-subscriptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonwalker%2Fgraphql-nats-subscriptions/lists"}