Skip to content

intissarMez/es6-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published