{"id":21935376,"url":"https://github.com/zeecoder/z-namespacer","last_synced_at":"2026-04-20T09:02:01.298Z","repository":{"id":33614411,"uuid":"37266636","full_name":"ZeeCoder/z-namespacer","owner":"ZeeCoder","description":"Namespaces event strings. (Works with jQuery.)","archived":false,"fork":false,"pushed_at":"2015-06-12T06:42:22.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T13:14:21.356Z","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/ZeeCoder.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":"2015-06-11T14:39:13.000Z","updated_at":"2015-06-12T06:42:24.000Z","dependencies_parsed_at":"2022-09-12T22:01:49.211Z","dependency_job_id":null,"html_url":"https://github.com/ZeeCoder/z-namespacer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeeCoder%2Fz-namespacer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeeCoder%2Fz-namespacer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeeCoder%2Fz-namespacer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeeCoder%2Fz-namespacer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZeeCoder","download_url":"https://codeload.github.com/ZeeCoder/z-namespacer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966462,"owners_count":20539794,"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-11-29T00:19:51.034Z","updated_at":"2026-04-20T09:02:01.094Z","avatar_url":"https://github.com/ZeeCoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# z-namespacer\n[![Build Status](https://travis-ci.org/ZeeCoder/z-namespacer.svg?branch=master)](https://travis-ci.org/ZeeCoder/z-namespacer)\n[![npm version](https://badge.fury.io/js/z-namespacer.svg)](http://badge.fury.io/js/z-namespacer)\n\nNamespacer creates namespaced event strings.\n\nExpects the returned namespaced event strings to be used with [jQuery event namespaces](https://api.jquery.com/event.namespace/).\n\nSince it's a CommonJS module, it must be used alongside with [Browserify](http://browserify.org/), or\nsomething similar, like [WebPacker](http://webpack.github.io/).\n\n## Example, explanation\n\n```js\nvar Namespacer = require('z-namespacer');\n\n// Creating a new object, providing the namespace\nvar ns = new Namespacer('namespace');\n\nns.get('click');\n// -\u003e 'click.namespace'\n\nns.get('resize scroll');\n// -\u003e 'resize.namespace scroll.namespace'\n\n// Usage example with jQuery\n$(window).on(ns.get('resize scroll'), function() {\n    // Do something nasty\n});\n\n// later on\n$(window).off(ns.get('resize scroll'));\n\n```\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeecoder%2Fz-namespacer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeecoder%2Fz-namespacer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeecoder%2Fz-namespacer/lists"}