1.0.2 • Published 6 years ago

j-quote v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

J-Quote

Quotes text with double quotes, single quotes, and backslashes in a way which can be accepted into Java code.

Programmatic Usage

Accepts a string as an argument, returns a transformed string.

var jQuote = require('j-quote')

var quoted = jQuote(unquoted)

Command Line Invocation

This can be invoked on the command line as well.

j-quote /path/to/file

Reads /path/to/file and quotes the text in it, writing to stdout.

j-quote -

Reads from stdin, quotes the text in it, writing to stdout.

j-quote

Reads from stdin, quotes the text in it, writing to stdout. Useful for allowing keyboard input and getting the transformed input back.

1.0.2

6 years ago

1.0.1

9 years ago

1.0.0

9 years ago