mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/RoboCommander.git
synced 2026-06-19 02:56:10 +00:00
Initial commit
This commit is contained in:
13
node_modules/is-stream-ended/index.js
generated
vendored
Normal file
13
node_modules/is-stream-ended/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (stream) {
|
||||
var ended;
|
||||
|
||||
if (typeof stream.ended !== 'undefined') {
|
||||
ended = stream.ended;
|
||||
} else {
|
||||
ended = stream._readableState.ended;
|
||||
}
|
||||
|
||||
return Boolean(ended).valueOf();
|
||||
};
|
||||
20
node_modules/is-stream-ended/license
generated
vendored
Normal file
20
node_modules/is-stream-ended/license
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Stephen Sawchuk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
23
node_modules/is-stream-ended/package.json
generated
vendored
Normal file
23
node_modules/is-stream-ended/package.json
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "is-stream-ended",
|
||||
"version": "0.1.4",
|
||||
"description": "Check if a stream has ended",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"mocha": "^2.2.5",
|
||||
"through2": "^2.0.3"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/stephenplusplus/is-stream-ended.git"
|
||||
},
|
||||
"author": "Stephen Sawchuk <sawchuk@gmail.com>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/stephenplusplus/is-stream-ended#readme"
|
||||
}
|
||||
Reference in New Issue
Block a user