Browse Source

Initial commit

Sven Slootweg 7 months ago
commit
2d768a5d07
3 changed files with 15 additions and 0 deletions
  1. 2 0
      .gitignore
  2. 5 0
      index.js
  3. 8 0
      package.json

+ 2 - 0
.gitignore

@ -0,0 +1,2 @@
1
node_modules
2
yarn.lock

+ 5 - 0
index.js

@ -0,0 +1,5 @@
1
"use strict";
2
3
module.exports = function propagateAbort(source, reason) {
4
	return source.abort(reason);
5
};

+ 8 - 0
package.json

@ -0,0 +1,8 @@
1
{
2
  "name": "ppstreams-propagate-abort",
3
  "version": "1.0.0",
4
  "main": "index.js",
5
  "repository": "git@git.cryto.net:joepie91/ppstreams-propagate-abort.git",
6
  "author": "Sven Slootweg <admin@cryto.net>",
7
  "license": "WTFPL OR CC0-1.0"
8
}