1.0.0 • Published 8 years ago

js-string-escape-cli v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

js-string-escape-cli

Escape strings for use as JavaScript string literals from command line.

Usage

The package creates a symlink the in the .bin folder. You can run it from command line with:

js-string-escape [options] <input> <output>

Options

CommonJS

-c or --commonjs wraps the literal into a CommonJS module.export.

Quote

-q or --quote wraps the literal into quotes.

Double Quite

-d or --double wrap the literal into double quotes.