Skip to content

bgag/js-string-escape-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Escape strings for use as JavaScript string literals from command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published