Socket
Socket
Sign inDemoInstall

quote-stream

Package Overview
Dependencies
12
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quote-stream

transform a stream into a quoted string


Version published
Weekly downloads
1M
decreased by-2.35%
Maintainers
1
Install size
240 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 26 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc