Atom Packages Directory

a package directory for a text editor of the 21st Century

Essix Snippets

Install with:
    apm install essix-snippets

ES6 snippets package

ES6 code snippets for Atom Editor.

Prefix Description
imp-> Imports an entire module’s contents.
impas-> Imports a part of the module’s content as an alias
impm-> Imports a member of the module
impmas-> Imports multiple members of the module
imp*-> Imports an entire module’s contents as an alias
exf-> Exports a function
exdf-> Exports default function
exc-> Exports a class
exec-> Exports a sub-class
con-> Generates a class’s constructor
meth-> Creates a class’s method
get-> Generates a getter property
set-> Generates a setter property
nfn-> Generates a named function
arrp-> Generates an arrow function with one parameter
arrps-> Generates an arrow function with multiple parameters
arr-> Generates an arrow function with no parameters
st-> Creates a setTimeout method
si-> Creates a setInterval method
foro-> for … of loop
fori-> for … in loop
gen-> Generates a generator
Keywords: es6, javascript, snippets Suggest keywords
Fork me on GitHub