1
1
# Modern JavaScript Snippets ⚡
2
2
3
+ > Short and memorable JavaScript & TypeScript snippets for the modern-day developer.
4
+
5
+ <br >
6
+
3
7
🚧 Work in progress
4
8
9
+ <br >
5
10
6
- > Short and memorable JavaScript & TypeScript snippets for the modern-day developer.
11
+ Currently at ** 180+ ** snippets
7
12
8
13
<br >
9
14
10
15
![ JavaScript] ( https://img.shields.io/badge/javascript-%23F7DF1C.svg?style=for-the-badge&logo=javascript&logoColor=%23323330 )
11
16
![ TypeScript] ( https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white )
12
17
13
-
14
-
15
18
## Support
16
19
Only JavaScript and TypeScript will be supported.
17
20
Specific frameworks will get their own extensions. No bloat.
@@ -22,9 +25,8 @@ Supported file extensions:
22
25
- ` .jsx `
23
26
- ` .tsx `
24
27
25
-
26
28
## Setup
27
- The following is not mandatory, but provides a nicer experience.
29
+ The following is not mandatory, but could provide a nicer experience.
28
30
29
31
Search for ` editor.tabCompletion ` in user settings, or edit the settings.json directly:
30
32
``` jsonc
@@ -280,6 +282,8 @@ You can use these snippets along with Prettier/ESLint to have your code automati
280
282
## Uncategorized
281
283
282
284
⚠️ * working on it*
285
+
286
+
283
287
| Prefix | Description | Body |
284
288
| ------ | ---------------- | ----------------------------------------- |
285
289
| ` uniq ` | uniq | ` [...new Set(${0:array})] ` |
@@ -313,9 +317,7 @@ You can use these snippets along with Prettier/ESLint to have your code automati
313
317
| ` tpu ` | type union | ` type ${1:Model} = ${2:first} \| ${3:second} ` |
314
318
| ` tpi ` | type intersection | ` type ${1:Model} = ${2:first} & ${3:second} ` |
315
319
316
- * ...and many more (evertyhing will be documented)*
317
-
318
- Running locally
320
+ ## Running locally
319
321
320
322
``` bash
321
323
# ensure Deno is installed
0 commit comments