0.2.13 • Published 3 years ago

@mdo-org/mdo-plugin-remove-complete v0.2.13

Weekly downloads
1
License
SEE LICENSE IN .....
Repository
github
Last release
3 years ago

"Remove Complete" Plugin

Removes to-dos marked as complete from the stream.

Installation

npm install --save @mdo-org/mdo-plugin-remove-complete

Usage

const removeComplete = require('@mdo-org/mdo-plugin-remove-complete');
mdoStream.pipe(removeComplete());

Overview

Removes any to-do with type === "COMPLETE_TASK" from the stream.

Eg:

given a stream that emits the following blocks

{ type: "INCOMPLETE_TASK", text: "{{type}} I will surviveee" }
{ type: "COMPLETE_TASK", text: "{{type}} Goodbyeee Moonmen" }

after removeComplete(), the stream will only emit

{ type: "INCOMPLETE_TASK", text: "{{type}} I will surviveee" }
0.2.13

3 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.3

5 years ago

0.2.1

5 years ago