npm.io
2.3.0 • Published 11 years agoCLI

tripple-semicolon

Licence
MIT
Version
2.3.0
Deps
3
Vulns
0
Weekly
0
Stars
4

tripple-semicolon

forthebadge forthebadge

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

The MIT License (MIT)

Copyright 2015 Christoph Witzko

Keywords