done purchases remove, ocr scan, read image
This commit is contained in:
14
express-server/node_modules/streamifier/CHANGES
generated
vendored
Normal file
14
express-server/node_modules/streamifier/CHANGES
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
v0.1.1 (03 Apr 2015)
|
||||
Clean up.
|
||||
|
||||
v0.1.0 (21 Oct 2013)
|
||||
Performance slightly improved due to the simplification of the code. This is
|
||||
the most basic code that is needed.
|
||||
If you pass an object, the stream is converted automatically to the object
|
||||
mode.
|
||||
|
||||
v0.0.2 (19 Jul 2013)
|
||||
Bump version.
|
||||
|
||||
v0.0.1 (01 Apr 2013)
|
||||
First release.
|
21
express-server/node_modules/streamifier/LICENSE
generated
vendored
Normal file
21
express-server/node_modules/streamifier/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Gabriel Llamas
|
||||
|
||||
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.
|
16
express-server/node_modules/streamifier/README.md
generated
vendored
Normal file
16
express-server/node_modules/streamifier/README.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
streamifier
|
||||
===========
|
||||
|
||||
#### Converts a Buffer/String into a readable stream ####
|
||||
|
||||
[![npm][npm-image]][npm-url]
|
||||
|
||||
<a name="createReadStream"></a>
|
||||
___module_.createReadStream(object[, options]) : Readable__
|
||||
|
||||
Returns a Readable stream.
|
||||
|
||||
The `object` can be of any data type. If it is a Buffer or a string, the available `options` are [`highWaterMark` and `encoding`](http://nodejs.org/api/stream.html#stream_new_stream_readable_options), otherwise the Readable stream is automatically set in [object mode](http://nodejs.org/api/stream.html#stream_object_mode) and the `options` parameter is ignored.
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/streamifier.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/streamifier
|
28
express-server/node_modules/streamifier/lib/index.js
generated
vendored
Normal file
28
express-server/node_modules/streamifier/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
'use strict';
|
||||
|
||||
var util = require('util');
|
||||
var stream = require('stream');
|
||||
|
||||
module.exports.createReadStream = function (object, options) {
|
||||
return new MultiStream (object, options);
|
||||
};
|
||||
|
||||
var MultiStream = function (object, options) {
|
||||
if (object instanceof Buffer || typeof object === 'string') {
|
||||
options = options || {};
|
||||
stream.Readable.call(this, {
|
||||
highWaterMark: options.highWaterMark,
|
||||
encoding: options.encoding
|
||||
});
|
||||
} else {
|
||||
stream.Readable.call(this, { objectMode: true });
|
||||
}
|
||||
this._object = object;
|
||||
};
|
||||
|
||||
util.inherits(MultiStream, stream.Readable);
|
||||
|
||||
MultiStream.prototype._read = function () {
|
||||
this.push(this._object);
|
||||
this._object = null;
|
||||
};
|
53
express-server/node_modules/streamifier/package.json
generated
vendored
Normal file
53
express-server/node_modules/streamifier/package.json
generated
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"_from": "streamifier@^0.1.1",
|
||||
"_id": "streamifier@0.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8=",
|
||||
"_location": "/streamifier",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "streamifier@^0.1.1",
|
||||
"name": "streamifier",
|
||||
"escapedName": "streamifier",
|
||||
"rawSpec": "^0.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/express-fileupload"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/streamifier/-/streamifier-0.1.1.tgz",
|
||||
"_shasum": "97e98d8fa4d105d62a2691d1dc07e820db8dfc4f",
|
||||
"_spec": "streamifier@^0.1.1",
|
||||
"_where": "D:\\5CHITM\\Diplomarbeit\\repos\\SmartShopper\\express-server\\node_modules\\express-fileupload",
|
||||
"author": {
|
||||
"name": "Gabriel Llamas",
|
||||
"email": "gagle@outlook.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/gagle/node-streamifier/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Converts a Buffer/String into a readable stream",
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
},
|
||||
"homepage": "https://github.com/gagle/node-streamifier#readme",
|
||||
"keywords": [
|
||||
"string",
|
||||
"buffer",
|
||||
"readable",
|
||||
"stream"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "lib",
|
||||
"name": "streamifier",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/gagle/node-streamifier.git"
|
||||
},
|
||||
"version": "0.1.1"
|
||||
}
|
Reference in New Issue
Block a user