From b71f1e8b7fd619cf47370f06917d4b2e6862811f Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 9 Feb 2021 23:26:46 +0100 Subject: [PATCH] Update to new name --- README.md | 18 +++++++++--------- example.js | 2 ++ index.js | 5 ++--- package.json | 4 ++-- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a439530..11db1af 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ -# @ppstreams/end-of-stream-marker +# @promistream/end-of-stream - + -A simple custom error type for marking the end of a [ppstreams](https://ppstreams.cryto.net/) stream. You'd usually only need this module when you're implementing a source stream. +A simple custom error type for marking the end of a [Promistream](https://promistream.cryto.net/). You'd usually only need this module when you're implementing a source stream. ## Example -An example of *producing* an `EndOfStream` marker, from the [range-numbers](https://www.npmjs.com/package/@ppstreams/range-numbers) module, which is a source stream that produces numbers within a range: +An example of *producing* an `EndOfStream` marker, from the [range-numbers](https://www.npmjs.com/package/@promistream/range-numbers) module, which is a source stream that produces numbers within a range: ```js "use strict"; -const simpleSource = require("@ppstreams/simple-source"); -const EndOfStream = require("@ppstreams/end-of-stream"); +const simpleSource = require("@promistream/simple-source"); +const EndOfStream = require("@promistream/end-of-stream"); module.exports = function rangeNumbers(start, end, step = 1) { let i = start; @@ -33,14 +33,14 @@ module.exports = function rangeNumbers(start, end, step = 1) { ```