15.4.0 • Published 6 years ago

@the-/mixin-stream v15.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@the-/mixin-stream

npm Version

Mixins for stream

Installation

$ npm install @the-/mixin-stream --save

Usage

'use strict'

const { withDebug } = require('@the-/mixin-stream')
const { TheStream } = require('@the-/stream')

async function tryExample() {
  class MyStream extends withDebug(TheStream) {
    /* ... */
    doSomething() {
      /*...*/
    }
  }
  const stream = new MyStream()
  await stream.doSomething()
}

tryExample().catch((err) => console.error(err))

API Guide

function

License

This software is released under the MIT License.

Links

15.4.0

6 years ago

15.2.0

6 years ago

15.1.4

6 years ago

15.1.3

6 years ago

15.1.2

6 years ago