tripple-semicolon
v2.3.0
Published
Adds three semicolons at every JS line.
Downloads
9
Readme
tripple-semicolon
Install tripple-semicolon
$ npm install -g tripple-semicolon
Usage
Usage:
tripple-semicolon <options> -- <file>
Options:
-w, --overwrite Overwrite the input file
-o, --output <file> Write output to file
-v, --version Output the current version
-h, --help Output this help info
Examples
$ tripple-semicolon index.js > index2.js
use stdin
$ cat index.js | tripple-semicolon > index2.js
Greek Mode
$ cat index.js | tripple-semicolon -g > index2.js
Module usage
var trippleSemicolon = require('tripple-semicolon')
var out = trippleSemicolon('console.log(a);')
console.log(out) // logs "console.log(a);;;"
Licence
Copyright © 2015 Christoph Witzko