aligner-javascript

Javascript support for aligner

adrianlee44

60,162

49

1.3.0

MIT

GitHub

This package provides the following services:

aligner-javascript

Aligner add-on to support Javascript.

Supported character / operator

=: assignment

let foo   = "bar"
let test  = "notest"
let hello = "world"

+=, -= and other with =

let foo    = "bar"
let test  += "notest"
let hello -= "world"

:: Object

random = {
  troll: "internet",
  foo:   "bar",
  bar:   "beer"
}

,: Items in arrays

["helloText", 123456, "world"]
["foo"      ,  32124, "bar"]

from:

import * from 'fs';
import * from 'https';

Comments (if Align Comments options on)

let hello = 'world'; // line 1
let foo   = 'bar';   // line 2

Installation

Aligner must be installed along with this package. For more information, please check out Aligner

Changelog