treedbox-atom-javascript

javaScript Snippets for fast development in Atom.io.

treedbox

2,485

1

2.10.0

MIT

GitHub

Treedbox Atom Javascript

How fast do you want to be to transform an idea into code?

This is not a package that will force you to remember of some custom prefix to call the the snippets. Treedbox Atom Javascript was designed to serve snippets in the most logical way, delivering the most commons code structures and combinations to make your combo code very speedy and powerful.

Javascript snippets Atom Package for a fast development.

By: Jonimar Marques Policarpo at Treedbox

Pages

GitHub: https://github.com/treedbox/treedbox-atom-javascript

Atom.io: https://atom.io/packages/treedbox-atom-javascript

What's News?

version 2.7.0: 501 javascript snippets!

version 2.3.0: 480 snippets

version 1.0.0: 114 snippets

All Math properties and methods

Including an extra complete functions as MathRandomCompleteFunc or randomCompleteFunc:

const random = (min,max) => Math.floor(Math.random() * (max - min + 1)) + min

and many others Extras that you will find out when you need it 😃

How to use

Example:

in a .js file or in a .html file, between the HTML tag <span></span>, type: fetch and press "Tab/Enter" to generate:

fetch(url)
  .then(response => response)
  .then(data =>{
      console.log('data:',data)
  }).catch(error => console.log('ERROR:',error.message))

Like fetch, you have a lot of snippets to help you with import, forEach, map, generator and so on.

Tested

Atom 1.21.0-beta2 x64

Atom 1.22.0-beta2 x64

Meta

Author: Jonimar Marques Policarpo [Front-End Web Developer]

LinkEdin: Jonimar Marques Policarpo | Treedbox

Twitter: @treedbox

E-mail: treedbox@gmail.com

WebSite: treedbox.com

License

MIT © TreedBox

Offical Repository

https://github.com/treedbox/treedbox-atom-javascript/