{"id":13746987,"url":"https://github.com/x-tag/core","last_synced_at":"2025-05-15T11:09:17.289Z","repository":{"id":6316510,"uuid":"7551469","full_name":"x-tag/core","owner":"x-tag","description":"The Heart of X-Tag","archived":false,"fork":false,"pushed_at":"2020-03-09T20:58:58.000Z","size":2701,"stargazers_count":1250,"open_issues_count":30,"forks_count":146,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-05-02T18:13:14.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://x-tag.github.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Helabs/spree_moip_payment","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x-tag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-11T00:32:58.000Z","updated_at":"2025-03-11T09:18:33.000Z","dependencies_parsed_at":"2022-07-09T07:16:12.586Z","dependency_job_id":null,"html_url":"https://github.com/x-tag/core","commit_stats":null,"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-tag%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-tag%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-tag%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-tag%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x-tag","download_url":"https://codeload.github.com/x-tag/core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253980059,"owners_count":21994043,"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-08-03T06:01:09.663Z","updated_at":"2025-05-15T11:09:17.272Z","avatar_url":"https://github.com/x-tag.png","language":"JavaScript","readme":"# X-Tag - Rocket fuel for component development\n\n[![Join the chat at https://gitter.im/x-tag/core](https://badges.gitter.im/x-tag/core.svg)](https://gitter.im/x-tag/core?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[![NPM version](https://badge.fury.io/js/x-tag.svg)](https://badge.fury.io/js/x-tag)\n\n[![CDNJS](https://img.shields.io/cdnjs/v/x-tag.svg)](https://cdnjs.com/libraries/x-tag) \n\n**This is the repository for the core [X-Tag](http://x-tag.github.io/) library.**\n\nX-Tag is a Microsoft supported, open source, JavaScript library that wraps the W3C standard Web Components family of APIs to provide a compact, feature-rich interface for rapid component development. While X-Tag offers feature hooks for all Web Component APIs (Custom Elements, Shadow DOM, HTML Templates), it only requires [Custom Element][1] support to operate. In the absence of native Custom Element support, X-Tag relies on the same set of polyfills Google's Polymer framework uses.\n\nYou can find out more about what X-Tag does, where it works, and how to use it, on the project page: [x-tag.github.io](http://x-tag.github.io/).\n\n  [1]: http://w3c.github.io/webcomponents/spec/custom/       \"W3 Web Components Spec (Draft)\"\n\n## Snag X-Tag from NPM\n\n````bash\nnpm install x-tag\n````\n\n## Pull our repo from Github\n\nTo get started hacking on X-Tag core:\n\n````bash\ngit clone https://github.com/x-tag/core x-tag-core --recursive\ncd x-tag-core\nnpm install        # installs all the required dependencies using package.json\ngulp all     # outputs x-tag-core.js and x-tag-core.min.js to ./dist\n````\n\n## Updating\n\nIf you already cloned the library and want to update your build with changes to Core, do:\n\n````bash\ncd x-tag-core\ngit pull origin master\nnpm install\ngulp all\n````\n\nThis assumes you just cloned the library and its remote repository is labelled `origin`. Suppose you had your own fork where your own remote is `origin`; you should add another remote origin and label it as `upstream`. Then your `git pull` line would need to be `git pull upstream master` instead.\n\n## Tests\n\nWe use Jasmine to test the library, and you can verify it works as expected by opening [tests/core/index.html](tests/core/index.html) in your browser to run the tests.\n\n\n## Regenerating the distributable build\n\nIn the interest of not reinventing the wheel, X-Tag core uses a few existing libraries which get pulled into the project. But distributing a bunch of separate files is not efficient, so we need to generate a single file that contains all this code.\n\nIf you make changes on the library and want to regenerate the build, just run\n\n````bash\ngulp all\n````\n\nand both `x-tag-raw.js` and `x-tag-polyfilled.js` will be rebuilt, minified, and placed in the `./dist` directory.\n\n\n## Creating your own Web Components\n\nTo learn more about X-Tags visit [x-tag.github.io/docs](http://x-tag.github.io/docs).","funding_links":[],"categories":["JavaScript","Repository"],"sub_categories":["Web Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-tag%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx-tag%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-tag%2Fcore/lists"}