Skip to content

Instantly share code, notes, and snippets.

@jasonandmonte
Last active December 8, 2020 18:38
Show Gist options
  • Save jasonandmonte/da527e4b34521d8577e564d4d76b98c1 to your computer and use it in GitHub Desktop.
Save jasonandmonte/da527e4b34521d8577e564d4d76b98c1 to your computer and use it in GitHub Desktop.
{
"const": {
"prefix": "c",
"body": "const $0",
"description": "const"
},
"let": {
"prefix": "l",
"body": "let $0",
"description": "let"
},
"arrow": {
"prefix": "ar",
"body": "const $1 = (${2:param}) => $3",
"description": "named arrow expression"
},
"Import": {
"prefix": "im",
"body": "import $1 from '$2';",
"description": "Import Statement"
},
"Require": {
"prefix": "rq",
"body": "const $1 = require('$2');",
"description": "Require Function"
},
"Double Log": {
"prefix": "cld",
"body": "console.log('$1::', $2);",
"description": "Log with string prefix"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment