Nicely Pruned Marigolds

    gocsp-concat

    0.0.1 • Public • Published

    gocsp-concat

    Example

    var fs = require('gocsp-fs')
    var co = require('gocsp-co')
    var assert = require('assert')
    var concat = require('gocsp-concat')
     
    co.spawn(function* () {
     
        // concat gocsp-channel
        var file1 = yield concat(fs.createReadChannel(__filename, {
            encoding: 'utf8'
        }))
     
        // concat node stream
        var file2 = yield concat(fs.createReadStream(__filename, {
            encoding: 'utf8'
        }))
     
        assert(file1 === file2)
    })

    License

    MIT

    Keywords

    none

    Install

    npm i gocsp-concat

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • gyson