2.0.2 • Published 4 years ago

munchhausen v2.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

munchhausen

Automatically wrap operating system commands with duplex streams.

Named after Baron Munchausen who pulled him self out of a lake by his own hair. muenchhausen.jpg

Usage

import { pipeline } from 'stream';
import munchhausen from 'munchhausen';
const {cat, grep} = munchhausen;
pipeline(

  ...await Promise.all([
    cat("package.json"),
    grep(echo("name"))
  ]),

  err => console.error
).once('readable', function () {
  console.log( this.read().toString()) //  "name": "munchhausen",\n
})

Credit

Artwork Public Domain

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago