15.4.0 • Published 5 years ago

@the-/mixin-stream v15.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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

5 years ago

15.2.0

5 years ago

15.1.4

5 years ago

15.1.3

5 years ago

15.1.2

5 years ago