This package has been deprecated

    Author message:

    Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

    datcat

    1.2.1 • Public • Published

    deprecated

    More info on active projects and modules at dat-ecosystem.org


    datcat

    module to simplify streaming a remote hypercore feed in memory so you can cat the results. works with 'raw' hypercores or hyperdrives. autodetects hyperdrive/dat encoding and decodes metadata for you automatically.

    usage

    var stream = require('datcat')(datLink)
    stream
      .on('data', function (d) {
        console.log(d)
      })
      .on('end', function () {
        stream.close()
      })
    

    note you must call .close() manually to unref and allow your process to exit (if you need that)

    Keywords

    none

    Install

    npm i datcat

    DownloadsWeekly Downloads

    24

    Version

    1.2.1

    License

    ISC

    Unpacked Size

    3.55 kB

    Total Files

    4

    Last publish

    Collaborators

    • cblgh
    • frando
    • jhand
    • juliangruber
    • leichtgewicht
    • maxogden
    • ninabreznik
    • pfrazee
    • rangermauve
    • serapath
    • the-real-dk
    • zootella