{"id":19686351,"url":"https://github.com/closeio/backbone.mousetrap","last_synced_at":"2026-03-01T13:03:23.614Z","repository":{"id":5077482,"uuid":"6239572","full_name":"closeio/backbone.mousetrap","owner":"closeio","description":"A better integration of Backbone.js and Mousetrap keyboard event bindings","archived":false,"fork":false,"pushed_at":"2017-02-17T00:04:21.000Z","size":7,"stargazers_count":59,"open_issues_count":0,"forks_count":13,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-08-04T11:23:20.764Z","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":"bitcoin-solutions/multibit-hd","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/closeio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-16T05:52:19.000Z","updated_at":"2023-06-15T16:44:50.000Z","dependencies_parsed_at":"2022-07-04T14:00:23.738Z","dependency_job_id":null,"html_url":"https://github.com/closeio/backbone.mousetrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/closeio/backbone.mousetrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fbackbone.mousetrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fbackbone.mousetrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fbackbone.mousetrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fbackbone.mousetrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/closeio","download_url":"https://codeload.github.com/closeio/backbone.mousetrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fbackbone.mousetrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T12:56:10.327Z","status":"ssl_error","status_checked_at":"2026-03-01T12:55:24.744Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-11T18:27:40.460Z","updated_at":"2026-03-01T13:03:18.606Z","avatar_url":"https://github.com/closeio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"backbone.mousetrap\n==================\n\nBring [Backbone.js](http://backbonejs.org/) and [Mousetrap](https://github.com/ccampbell/mousetrap) together nicely for declarative keyboard event bindings on Backbone views.\n\n* Nice declarative syntax\n* Allows you to bind different keyboard events to different views\n* Keyboard events are unbound automatically when the view's `remove()` is called\n\n\n```js\nvar View = Backbone.View.extend({\n    keyboardEvents: {\n        'command+shift+t': 'test',\n        'control+shift+t': 'test'\n    },\n\n    test: function(ev) {\n        alert('hello world!');\n    }\n});\n```\n\nMIT LICENSE\n\n---\n\nThanks to our friends at Codecademy for showing us the declarative light with [backbone.declarative](https://github.com/Codecademy/backbone.declarative).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Fbackbone.mousetrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloseio%2Fbackbone.mousetrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Fbackbone.mousetrap/lists"}