{"id":16898507,"url":"https://github.com/javan/sprockets-export","last_synced_at":"2025-03-22T09:31:55.515Z","repository":{"id":59156125,"uuid":"58940557","full_name":"javan/sprockets-export","owner":"javan","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-20T18:22:50.000Z","size":19,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-18T10:21:18.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/javan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-16T14:47:45.000Z","updated_at":"2024-10-13T20:22:08.000Z","dependencies_parsed_at":"2022-09-13T20:10:54.572Z","dependency_job_id":null,"html_url":"https://github.com/javan/sprockets-export","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fsprockets-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fsprockets-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fsprockets-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javan%2Fsprockets-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javan","download_url":"https://codeload.github.com/javan/sprockets-export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937751,"owners_count":20535124,"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-10-13T17:43:49.124Z","updated_at":"2025-03-22T09:31:55.214Z","avatar_url":"https://github.com/javan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sprockets Export\n\nA [Sprockets directive](https://github.com/rails/sprockets#sprockets-directives) for hassle-free [UMD](https://github.com/umdjs/umd)-style JavaScript module definitions.\n\n## Using\n\n``` ruby\n# Gemfile\n\ngem 'sprockets', '\u003e= 3.0.0'\ngem 'sprockets-export'\n```\n\n```js\n/* widget.js */\n\n//= export Widget\n//= require_self\n\nthis.Widget = { name: \"gizmo\" }\n```\n\n## Consuming\n\n```js\nwidget = require(\"widget\")\nwidget.name // gizmo\n```\n\n---\n\nLicensed under the [MIT License](LICENSE.txt)\n\n© 2016 Javan Makhmali\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavan%2Fsprockets-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavan%2Fsprockets-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavan%2Fsprockets-export/lists"}