From 2d768a5d07b511339d0cb665d1e45e2644616335 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 23 Apr 2019 22:59:15 +0200 Subject: [PATCH] Initial commit --- .gitignore | 2 ++ index.js | 5 +++++ package.json | 8 ++++++++ 3 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 index.js create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..97008e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +yarn.lock \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..066a6ec --- /dev/null +++ b/index.js @@ -0,0 +1,5 @@ +"use strict"; + +module.exports = function propagateAbort(source, reason) { + return source.abort(reason); +}; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..6a13905 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "ppstreams-propagate-abort", + "version": "1.0.0", + "main": "index.js", + "repository": "git@git.cryto.net:joepie91/ppstreams-propagate-abort.git", + "author": "Sven Slootweg ", + "license": "WTFPL OR CC0-1.0" +}