Initial commit
commit
527c3b1ef1
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function isEndOfStream(value) {
|
||||
return (
|
||||
value != null
|
||||
&& typeof value === "object"
|
||||
&& value.__ppstreams_isEndOfStreamMarker === true
|
||||
);
|
||||
};
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "@ppstreams/is-end-of-stream",
|
||||
"version": "0.1.0",
|
||||
"main": "index.js",
|
||||
"repository": "http://git.cryto.net/ppstreams/is-end-of-stream.git",
|
||||
"author": "Sven Slootweg <admin@cryto.net>",
|
||||
"license": "WTFPL OR CC0-1.0"
|
||||
}
|
Loading…
Reference in New Issue