Skip to content

Instantly share code, notes, and snippets.

@gerwld
Last active February 23, 2025 11:41
Show Gist options
  • Save gerwld/973fd1ed31e29493c0f3c5b20dd76587 to your computer and use it in GitHub Desktop.
Save gerwld/973fd1ed31e29493c0f3c5b20dd76587 to your computer and use it in GitHub Desktop.
Snippets for TS
{
// CMD Shift P > Snippets: Configure Snippets
"Add Module exports": {
"prefix": "me",
"body": ["module.exports = "],
"description": "Module exports"
},
"1": {
"prefix": "impe",
"body": ["const express = require(\"express\");"],
"description": ""
},
"2": {
"prefix": "path",
"body": ["const path = require(\"path\");"],
"description": ""
},
"3": {
"prefix": "au",
"body": ["app.use($1)"],
"description": ""
},
"4": {
"prefix": "r",
"body": ["require(\"$1\");"],
"description": ""
},
"5": {
"prefix": "ra",
"body": ["const $1 = require(\"$1\");"],
"description": ""
},
"6": {
"prefix": "impm",
"body": ["const mongoose = require(\"mongoose\");"],
"description": ""
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment