{"id":18995317,"url":"https://github.com/zskycat/vscode-javascript-snippets-of-cat","last_synced_at":"2026-05-05T04:37:05.923Z","repository":{"id":141480813,"uuid":"142901425","full_name":"ZSkycat/vscode-javascript-snippets-of-cat","owner":"ZSkycat","description":"JavaScript snippets of Cat is a VSCode extension. This extends my own code snippets for JavaScript and TypeScript.","archived":false,"fork":false,"pushed_at":"2018-10-25T07:15:58.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T16:22:14.162Z","etag":null,"topics":["javascript","snippets","typescript","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/ZSkycat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-30T16:33:28.000Z","updated_at":"2018-10-25T07:16:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b71e0cea-caf8-48a0-abca-e0df0528c1b2","html_url":"https://github.com/ZSkycat/vscode-javascript-snippets-of-cat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZSkycat%2Fvscode-javascript-snippets-of-cat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZSkycat%2Fvscode-javascript-snippets-of-cat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZSkycat%2Fvscode-javascript-snippets-of-cat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZSkycat%2Fvscode-javascript-snippets-of-cat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZSkycat","download_url":"https://codeload.github.com/ZSkycat/vscode-javascript-snippets-of-cat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240010366,"owners_count":19733514,"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":["javascript","snippets","typescript","vscode-extension"],"created_at":"2024-11-08T17:29:58.071Z","updated_at":"2026-04-16T02:30:19.456Z","avatar_url":"https://github.com/ZSkycat.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-javascript-snippets-of-cat\n[![version](https://img.shields.io/vscode-marketplace/v/zskycat.javascript-snippets-of-cat.svg)](https://marketplace.visualstudio.com/items?itemName=zskycat.javascript-snippets-of-cat)\n[![downloads](https://img.shields.io/vscode-marketplace/d/zskycat.javascript-snippets-of-cat.svg)](https://marketplace.visualstudio.com/items?itemName=zskycat.javascript-snippets-of-cat)\n[![rating](https://img.shields.io/vscode-marketplace/r/zskycat.javascript-snippets-of-cat.svg)](https://marketplace.visualstudio.com/items?itemName=zskycat.javascript-snippets-of-cat)\n\n**JavaScript snippets of Cat** is a VSCode extension. This is my own code snippets for JavaScript and TypeScript.\n\n## Supported Languages\n-   JavaScript (.js)\n-   JavaScript React (.jsx)\n-   TypeScript (.ts)\n-   TypeScript React (.tsx)\n-   Vue (.vue)\n-   Html (.html)\n\n## ES Module Snippets\n| Trigger | Name            | Code                                |\n| ------- | --------------- | ----------------------------------- |\n| `imp`   | import default  | `import name from 'module';`        |\n| `impn`  | import name     | `import { default } from 'module';` |\n| `impa`  | import all      | `import * as name from 'module';`   |\n| `impr`  | import run      | `import 'module';`                  |\n| `exp`   | export default  | `export default`                    |\n| `expf`  | export from     | `export { default } from 'module';` |\n| `expa`  | export all from | `export * from 'module';`           |\n\n## Try Snippets\n| Trigger | Name              | Code                            |\n| ------- | ----------------- | ------------------------------- |\n| `tryc`  | try catch         | `try { } catch { }`             |\n| `tryf`  | try finally       | `try { } finally { }`           |\n| `trycf` | try catch finally | `try { } catch { } finally { }` |\n\n\n## Other Snippets\n| Trigger | Name       | Code                              |\n| ------- | ---------- | --------------------------------- |\n| `gett`  | getter     | `get property() { return true; }` |\n| `sett`  | setter     | `set property(value) { }`         |\n| `caseb` | case break | `case value: break;`              |\n\n## License\n[MIT](https://github.com/ZSkycat/vscode-javascript-snippets-of-cat/blob/master/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzskycat%2Fvscode-javascript-snippets-of-cat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzskycat%2Fvscode-javascript-snippets-of-cat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzskycat%2Fvscode-javascript-snippets-of-cat/lists"}