commit 2d768a5d07b511339d0cb665d1e45e2644616335 Author: Sven Slootweg Date: Tue Apr 23 22:59:15 2019 +0200 Initial commit 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" +}