{"id":22351804,"url":"https://github.com/laget-se/simple-pubsub","last_synced_at":"2025-07-20T17:34:07.315Z","repository":{"id":42178253,"uuid":"375999610","full_name":"laget-se/simple-pubsub","owner":"laget-se","description":"Simple PubSub eventing via proxied Backbone.Events.","archived":false,"fork":false,"pushed_at":"2023-07-31T04:58:32.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T12:09:57.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/laget-se.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}},"created_at":"2021-06-11T11:15:13.000Z","updated_at":"2023-08-30T12:34:58.000Z","dependencies_parsed_at":"2023-02-16T04:10:15.011Z","dependency_job_id":null,"html_url":"https://github.com/laget-se/simple-pubsub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laget-se/simple-pubsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laget-se%2Fsimple-pubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laget-se%2Fsimple-pubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laget-se%2Fsimple-pubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laget-se%2Fsimple-pubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laget-se","download_url":"https://codeload.github.com/laget-se/simple-pubsub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laget-se%2Fsimple-pubsub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266166057,"owners_count":23886727,"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":[],"created_at":"2024-12-04T12:15:33.272Z","updated_at":"2025-07-20T17:34:07.293Z","avatar_url":"https://github.com/laget-se.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple PubSub\n===============\n\nSimple PubSub eventing via proxied Backbone.Events.  Best used with Browserify!  https://github.com/substack/node-browserify.\n\nInstallation\n------------\n\n- `npm install simple-pubsub`\n\nAPI\n---\n\nhttp://backbonejs.org/#Events\n\n– `on`\n– `off`\n– `trigger`\n– `once`\n– `listenTo`\n– `stopListening`\n– `listenToOnce`\n\n\nExample\n-------\n\n```\nvar PubSub = require('simple-pubsub')\n\nPubSub.on('event', function (params) {\n  console.log('Hi!', params.name)\n})\n\nPubSub.trigger('event', {\n  name: 'Shostakovich'\n})\n\nPubSub.off('event')\n```\n\nTests\n-----\n\n- `npm install -g grunt-cli`\n- `npm install`\n- `grunt test`\n\n\nThanks\n------\n\n- Backbone.js\n- Underscore.js","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaget-se%2Fsimple-pubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaget-se%2Fsimple-pubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaget-se%2Fsimple-pubsub/lists"}