repo-cli

0.1.2 • Public • Published

touch-readme

transform a stream into a quoted string

testling badge

build status

example

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

output:

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

methods

var quote = require('touch-readme')

var q = quote()

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

usage

usage: touch-readme

  Transform stdin to a quoted string on stdout.

install

With npm do:

npm install touch-readme

license

MIT

Package Sidebar

Install

npm i repo-cli

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • giscafer