• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

aligner-javascript

Javascript support for aligner
  • #aligner
  • #alignment
  • #align
  • #javascript
  • #babel
adrianlee44
1.3.0 54,359
48
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

  • 2017-08-02   v1.3.0   Add support for JSON
  • 2017-07-06   v1.2.0   Add support for inline Javascript
  • 2017-05-13   v1.1.0   Update README
  • 2016-07-21   v1.0.0   Initial release

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by