JavaScript standardjs styled snippets installs statistics
By capaj · VS Code Marketplace · Snippets
standardjs styled javascript snippets for visual studio code
JavaScript standardjs styled snippets has 268,042 recorded installs on VS Code Marketplace, an increase of 0.2% over the past 30 days, ranking #1266 of 2,515 tracked listings.
Rating: 5.00 / 5 from 9 ratings
About JavaScript standardjs styled snippets
vscode-standardjs-snippets
Optinionated set of JS snippets. Originally forked from https://github.com/gaboesquivel/atom-standardjs-snippets, but we've added couple more. Also these are not using special characters because vscode doesn't accept them in the snippets.
Standard JavaScript Snippets for Visual studio code
A collection of javascript and react snippets for faster JavaScript development in Visual studio Code.
This collection is complementary to atom/language-javascript. It's based on extrabacon/atom-turbo-javascript.
Code style
Yes!, no semicolons:
- Are Semicolons Necessary in JavaScript?
- An Open Letter to JavaScript Leaders Regarding Semicolons
- JavaScript Semicolon Insertion - Everything You Need to Know
Snippets
Snippets are optimized to be short and easy to remember. Shortest are the ones you should be using most often. Note that these links work only on github, not on VSCode marketplace:
- declarations
- flow control
- functions
- iterables
- objects and classes
- returning values
- types
- promises
- ES6 modules
- testing
- console
- timers
- DOM
- Node.js
- miscellaneous
Declarations
v⇥ var statement
var ${1:name}
va⇥ var assignment
var ${1:name} = ${2:value}
l⇥ let statement
let ${1:name}
la⇥ let assignment awaited
let ${1:name} = await ${2:value}
ly⇥ let yielded assignment
let ${1:name} = yield ${2:value}
c⇥ const statement
const ${1:name}
cd⇥ const from destructuring
const { ${1:name} } = ${2:value}
ca⇥ const assignment awaited
const ${1:name} = await ${2:value}
cd⇥ const from destructuring awaited
const { ${1:name} } = await ${2:value}
cf⇥ const arrow function assignment
const ${1:name} = (${2:arguments}) => {\n\treturn ${0}\n}
cy⇥ const yielded assignment
const ${1:name} = yield ${2:value}
Flow Control
i⇥ if statement
if (${1:condition}) {
${0}
}
te⇥ ternary statement
${1:cond} ? ${2:true} : ${3: false}
ta⇥ ternary assignment
const ${0} = ${1:cond} ? ${2:true} : ${3: false}
el⇥ else statement
else {
${0}
}
ife⇥ else statement
if (${1:condition}) {
${0}
} else {
}
ei⇥ else if statement
else if (${1:condition}) {
${0}
}
fl⇥ for loop (ES6)
for (let ${1:i} = 0, ${2:len} = ${3:iterable}.length ${1:i} < ${2:len}; ${1:i}++) {
${0}
}
fi⇥ for in loop (ES6)
for (let ${1:key} in ${2:source}) {
if (${2:source}.hasOwnProperty(${1:key})) {
${0}
}
}
fo⇥ for of loop (ES6)
for (const ${1:key} of ${2:source}) {
${0}
}
wl⇥ while loop
while (${1:condition}) {
${0}
}
wid⇥ while iteration decrementing
let ${1:array}Index = ${1:array}.length
while (${1:array}Index--) {
${0}
}
tc⇥ try/catch
try {
${0}
} catch (${1:err}) {
}
tf⇥ try/finally
try {
${0}
} finally {
}
tcf⇥ try/catch/finally
try {
${0}
} catch (${1:err}) {
} finally {
}
Functions
fan⇥ anonymous function
function (${1:arguments}) {${0}}
fn⇥ named function
function ${1:name}(${2:arguments}) {
${0}
}
asf⇥ async function
async function (${1:arguments}) {
${0}
}
aa⇥ async arrow function with
async (${1:arguments}) => {
${0}
}
iife⇥ immediately-invoked function expression (IIFE)
;(function (${1:arguments}) {
${0}
})(${2})
aiife⇥ async immediately-invoked function expression
very useful when you don't have top level await(node 16 and lower)
;(async (${1:arguments}) => {
${0}
})(${2})
af⇥ arrow function (ES6)
(${1:arguments}) => ${2:statement}
afi⇥ arrow function identity
;(v) => v
fd⇥ arrow function with destructuring
({${1:arguments}}) => ${2:statement}
fdr⇥ arrow function with destructuring returning destructured
({${1:arguments}}) => ${1:arguments}
f⇥ arrow function with body (ES6)
(${1:arguments}) => {
${0}
}
fr⇥ arrow function with return (ES6)
(${1:arguments}) => {
return ${0}
}
fro⇥ arrow function with single returned object
(${1:arguments}) => ({
${0}
})
gf⇥ generator function (ES6)
function* (${1:arguments}) {
${0}
}
gfn⇥ named generator function (ES6)
function* ${1:name}(${1:arguments}) {
${0}
}
Iterables
fe⇥ forEach loop
${1:iterable}.forEach((${2:item}) => {
${0}
})
map⇥ map function
${1:iterable}.map((${2:item}) => {
${0}
})
mapsd⇥ map single desctructured argument
${1:iterable}.map((${2:item}) => ${2:item})
reduce⇥ reduce function
${1:iterable}.reduce((${2:previous}, ${3:current}) => {
${0}
}${4:, initial})
filter⇥ filter function
${1:iterable}.filter((${2:item}) => {
${0}
})
find⇥ ES6 find function
${1:iterable}.find((${2:item}) => {
${0}
})
every⇥ every function
${1:iterable}.every((${2:item}) => {
${0}
})
some⇥ some function
${1:iterable}.some((${2:item}) => {
${0}
})
```…
Description from the VS Code Marketplace listing.
- javascript
- snippet
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Snippets plugins
All 20 JavaScript standardjs styled snippets alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=capaj.vscode-standardjs-snippets. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.