FLUJOS/VISUALIZACION/node_modules/quote-stream
2025-11-07 00:06:12 +01:00
..
bin flow like the river 2025-11-07 00:06:12 +01:00
example flow like the river 2025-11-07 00:06:12 +01:00
test flow like the river 2025-11-07 00:06:12 +01:00
.travis.yml flow like the river 2025-11-07 00:06:12 +01:00
index.js flow like the river 2025-11-07 00:06:12 +01:00
LICENSE flow like the river 2025-11-07 00:06:12 +01:00
package.json flow like the river 2025-11-07 00:06:12 +01:00
readme.markdown flow like the river 2025-11-07 00:06:12 +01:00

quote-stream

transform a stream into a quoted string

testling badge

build status

example

var quote = require('quote-stream');
process.stdin.pipe(quote()).pipe(process.stdout);

output:

$ echo beep boop | node example/stream.js
"beep boop\n"

methods

var quote = require('quote-stream')

var q = quote()

Return a transform stream q that wraps input in double quotes and adds escape characters to the chunks.

usage

usage: quote-stream

  Transform stdin to a quoted string on stdout.

install

With npm do:

npm install quote-stream

license

MIT