Update to new name

master
Sven Slootweg 3 years ago
parent d0b5a86a86
commit 6a9e5500c6

@ -1,14 +1,14 @@
# @ppstreams/propagate-peek # @promistream/propagate-peek
A simple peek handler for ppstreams that just passes on an incoming peek request to the direct upstream. A simple peek handler for [Promistreams](https://promistream.cryto.net/) that just passes on an incoming peek request to the direct upstream.
## Example: ## Example:
```js ```js
"use strict"; "use strict";
const propagateAbort = require("@ppstreams/propagate-abort"); const propagateAbort = require("@promistream/propagate-abort");
const propagatePeek = require("@ppstreams/propagate-peek"); const propagatePeek = require("@promistream/propagate-peek");
module.exports = function makeStream() { module.exports = function makeStream() {
return { return {
@ -21,4 +21,4 @@ module.exports = function makeStream() {
peek: propagatePeek peek: propagatePeek
} }
}; };
``` ```

@ -1,8 +1,8 @@
{ {
"name": "@ppstreams/propagate-peek", "name": "@promistream/propagate-peek",
"version": "0.1.0", "version": "0.1.0",
"main": "index.js", "main": "index.js",
"repository": "http://git.cryto.net/ppstreams/propagate-peek.git", "repository": "http://git.cryto.net/promistream/propagate-peek.git",
"author": "Sven Slootweg <admin@cryto.net>", "author": "Sven Slootweg <admin@cryto.net>",
"license": "WTFPL OR CC0-1.0" "license": "WTFPL OR CC0-1.0"
} }

Loading…
Cancel
Save