Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    literal-streampublic

    literal-stream

    wrap a string literal in a readable stream

    usage

    var literalStream = require('literal-stream')
     
    literalStream('foo').pipe(process.stdout)
    // foo 

    api

    literalStream(literal: String) => ReadableStream

    literalStream returns a Streams2 ReadableStream which will emit literal once and then end.

    installation

    $ npm install literal-stream
    

    running the tests

    From package root:

    $ npm install
    $ npm test
    

    contributors

    license

    MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md

    install

    npm i literal-stream

    Downloadsweekly downloads

    1

    version

    0.1.0

    license

    MIT

    last publish

    collaborators