{"id":15099234,"url":"https://github.com/webcomponents/slush-element","last_synced_at":"2025-10-08T05:30:30.371Z","repository":{"id":17493839,"uuid":"20281541","full_name":"webcomponents/slush-element","owner":"webcomponents","description":"Slush generator to create Custom Elements using Polymer, X-Tag or VanillaJS","archived":true,"fork":false,"pushed_at":"2016-10-28T10:30:21.000Z","size":48,"stargazers_count":41,"open_issues_count":0,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-02T06:41:54.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.org/slush-element  ","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/webcomponents.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":"2014-05-29T03:54:14.000Z","updated_at":"2024-08-27T16:15:40.000Z","dependencies_parsed_at":"2022-08-25T10:00:12.065Z","dependency_job_id":null,"html_url":"https://github.com/webcomponents/slush-element","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/webcomponents%2Fslush-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcomponents%2Fslush-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcomponents%2Fslush-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcomponents%2Fslush-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webcomponents","download_url":"https://codeload.github.com/webcomponents/slush-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235683861,"owners_count":19029079,"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-09-25T17:08:19.678Z","updated_at":"2025-10-08T05:30:25.092Z","avatar_url":"https://github.com/webcomponents.png","language":"JavaScript","funding_links":[],"categories":["Web Tools"],"sub_categories":[],"readme":"# Slush Generator\u003cbr\u003e for Custom Elements\u003cbr\u003e\n\n[![NPM version](http://img.shields.io/npm/v/slush-element.svg?style=flat)](http://npmjs.org/slush-element)\n[![NPM downloads](http://img.shields.io/npm/dm/slush-element.svg?style=flat)](http://npmjs.org/slush-element)\n[![Build Status](http://img.shields.io/travis/webcomponents/slush-element/master.svg?style=flat)](https://travis-ci.org/webcomponents/slush-element)\n[![Dependency Status](http://img.shields.io/david/webcomponents/slush-element.svg?style=flat)](https://david-dm.org/webcomponents/slush-element)\n\n![Web Components + Slush](https://cloud.githubusercontent.com/assets/1680157/3633653/b7ba9750-0eed-11e4-848f-3d4eb7e2ea08.png)\n\n\u003e A Slush Generator that provides a functional boilerplate to easily create Custom Elements using [Polymer](http://www.polymer-project.org/), [X-Tag](http://x-tags.org/) or [VanillaJS](http://vanilla-js.com/).\n\n\u003e All templates are based in the boilerplates authored by the [WebComponents.org team](https://github.com/webcomponents/):\n\n\u003e * [Polymer Boilerplate](https://github.com/webcomponents/polymer-boilerplate)\n\u003e * [X-Tag Boilerplate](https://github.com/webcomponents/x-tag-boilerplate)\n\u003e * [VanillaJS Boilerplate](https://github.com/webcomponents/element-boilerplate)\n\n## Install\n\nInstall this generator using NPM:\n\n```sh\n$ [sudo] npm install -g slush-element\n```\n\n## Getting Started\n\nThere are two different generators available.\n\n* The first one used to scaffold out new **individual elements**:\n\n    ```sh\n$ slush element\n    ```\n\n    ```\n[?] What do you want to use?\n[?] What's the name of your element?\n[?] Do you want to include lifecycle callbacks?\n    ```\n\n    Which will generate the following file::\n\n    ```\n.\n└── my-element.html\n    ```\n\n* The second one is used to scaffold an **entire project**:\n\n    ```sh\n$ slush element:repo\n    ```\n\n    ```\n[?] What do you want to use?\n[?] What's the GitHub repository?\n[?] What's your GitHub username?\n[?] What's the name of your element?\n[?] How would you describe the element?\n[?] Do you want to include lifecycle callbacks?\n[?] Do you want to include some useful Gulp tasks?\n    ```\n\n    Which will generate the following project structure with npm and bower dependencies installed:\n\n    ```\n.\n├── .editorconfig\n├── .gitignore\n├── bower.json\n├── bower_components/\n├── package.json\n├── index.html\n├── node_modules/\n├── gulpfile.js\n├── src/my-element.html\n└── README.md\n    ```\n\n\u003e _**Note**: files will be generated in the current directory, so be sure to change to a new directory before running those commands if you don't want to overwrite existing files._\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Team\n\nThis project is maintained by these people and a bunch of awesome [contributors](https://github.com/webcomponents/generator-element/graphs/contributors).\n\n[![Beto Muniz](https://2.gravatar.com/avatar/fff7258836f20ea66b061b49a51fe8dd)](https://github.com/obetomuniz) | [![Zeno Rocha](https://2.gravatar.com/avatar/e190023b66e2b8aa73a842b106920c93)](https://github.com/zenorocha)\n--- | --- | --- | --- | ---\n[Beto Muniz](https://github.com/obetomuniz) | [Zeno Rocha](https://github.com/zenorocha)\n\n## License\n\n[MIT License](http://webcomponentsorg.mit-license.org/) © WebComponents.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcomponents%2Fslush-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebcomponents%2Fslush-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcomponents%2Fslush-element/lists"}