{"id":15283975,"url":"https://github.com/emberexperts/ember-snippets","last_synced_at":"2026-02-10T03:02:18.297Z","repository":{"id":40741759,"uuid":"168974714","full_name":"EmberExperts/ember-snippets","owner":"EmberExperts","description":"All-in-one snippets for Ember apps. Forget about syntax, focus on development.","archived":false,"fork":false,"pushed_at":"2023-02-11T00:19:44.000Z","size":1136,"stargazers_count":5,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T05:31:40.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=exelord.ember-snippets","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmberExperts.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-03T17:52:56.000Z","updated_at":"2023-07-27T04:35:21.000Z","dependencies_parsed_at":"2023-02-18T03:25:13.152Z","dependency_job_id":null,"html_url":"https://github.com/EmberExperts/ember-snippets","commit_stats":null,"previous_names":["exelord/ember-snippets"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/EmberExperts/ember-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmberExperts","download_url":"https://codeload.github.com/EmberExperts/ember-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270614404,"owners_count":24616692,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09-30T14:48:30.160Z","updated_at":"2026-02-10T03:02:18.252Z","avatar_url":"https://github.com/EmberExperts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://raw.githubusercontent.com/Exelord/ember-snippets/master/icon.png\" alt=\"Ember Snippets Logo\"\u003e\n\u003c/p\u003e\n\n# ember-snippets\n\nAll-in-one snippets for Ember apps. Forget about syntax, focus on development.\n\nSupported editors:\n- vscode: https://marketplace.visualstudio.com/items?itemName=exelord.ember-snippets\n\n**WARNING!** In most cases, snippets are up-to-date which means they assume you use the latest Ember, Ember-data or any other addon with our snippets.\n\n## What's included?\n\nFollowing snippets are just a selected subset. \n\n**Full documentation can be found in [`/docs`](https://github.com/Exelord/ember-snippets/tree/master/docs) folder**\n\n### Ember Snippets\n\n#### 1. Fully compatible Ember imports (ember-rfc176-data)\nImport anything by using `im*`, eg.\n```\nimtypeof -\u003e import { typeOf } from '@ember/utils';\n\nimcomputed -\u003e import { computed } from '@ember/object';\n\niminject -\u003e import { inject as service } from '@ember/service';\n```\n\n#### 2. Cheats\nCheat with Ember API snippets in your `.js` files by using shortcuts like:\n```\nservice -\u003e service(),\n\nsuper -\u003e this._super(...arguments);\n\nrun -\u003e run(() =\u003e { });\n\ncomputed -\u003e\ncomputed('property', function() {\n // body\n}),\n\ndidDestroyElement -\u003e\ndidInsertElement() {\n this._super(...arguments);\n \n},\n```\n\n#### 3. Skeletons\nForget about generators. Just use the skeletons for anything, eg:\n```\ncomponent -\u003e\nimport Component from '@glimmer/component';\n\nclass Component extends Component {\n  \n}\n\n```\n\n#### 4. Handlebars snippets\nTake the advantage of faster templating by using HBS snippets, eg:\n```\nyield -\u003e {{yield}}\n\ndebugger -\u003e {{debugger}}\n\non -\u003e {{on }}\n\nif -\u003e \n{{#if }}\n \n{{/if}}\n\neachelse -\u003e \n{{#each as ||}}\n \n{{else}}\n \n{{/each}}\n\nlinkto -\u003e\n\u003cLinkTo @route=\u003e\n \n\u003c/LinkTo\u003e \n```\n\n## Contribution\nIs this package missing your favorite addon or snippet? It's super easy to contribute!\n\n1. Create a new folder in `src/javascript` for JS or `src/handlebars` for HBS with you addon name, eg. `my-addon`\n2. Create files like `cheats.js`, `imports.js` or `skeletons.js`\n3. Fill in the files with following structure:\n ```js\n  module.exports = {\n    \"superFunction\": {\n      \"prefix\": \"imsuperFunction\",\n      \"body\": \"import { superFunction } from 'my-addon';\",\n      \"description\": \"superFunction allows you to do super things\"\n    },\n  }\n ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberexperts%2Fember-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femberexperts%2Fember-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberexperts%2Fember-snippets/lists"}