Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>paco snippetsNew to Visual Studio Code? Get it now.
paco snippets

paco snippets

paker

|
244 installs
| (0) | Free
bunch of usefull javascript snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

paco-snippets 🚀

This module has the snippets I like to use when I work in JavaScript or TypeScript and I haven't found on others extensions!

List of snippets (JS, Typescript and React) 📜

  • ust: 'use strict';
  • afn: ($1) => {$3}$2;
  • larfn: ($1) => $2
  • req: const $2 = require('$1');$3
  • imp: import $2 from '$1';
  • pfn: Promise((resolve, reject) => {$2});$1
  • presolve: Promise.resolve($2)$1
  • preject: Promise.reject($2)$1
  • admap: map(($2) => {$3})($1)
  • adfilter: map(($2) => {$3})($1)
  • adreduce: filter(($2) => {$3})($1)
  • maparr: $1.map(($2) => {$3})
  • filterarr: $1.filter(($2) => {$3})
  • reducearr: $1.reduce(($3) => {$4},$2)
  • Bcomb: compose($1)($1);
  • getprop: const $1 = get($2);
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft