Node.js initialisiert

This commit is contained in:
clerie
2018-04-03 11:42:35 +02:00
parent 368b09cc46
commit 49686db41d
643 changed files with 93064 additions and 0 deletions
index.js
node_modules
.bin
accepts
after
array-flatten
arraybuffer.slice
async-limiter
backo2
base64-arraybuffer
base64id
better-assert
blob
callsite
component-bind
component-emitter
component-inherit
content-disposition
content-type
cookie-signature
cookie
debug
depd
destroy
ee-first
encodeurl
engine.io-client
engine.io-parser
engine.io
escape-html
etag
express
finalhandler
forwarded
fresh
has-binary2
has-cors
http-errors
indexof
inherits
ipaddr.js
isarray
media-typer
merge-descriptors
methods
mime-db
mime-types
mime
ms
negotiator
object-component
on-finished
parseqs
parseuri
parseurl
path-to-regexp
proxy-addr
qs
range-parser
safe-buffer
send
serve-static
setprototypeof
socket.io-adapter
socket.io-client
socket.io-parser
socket.io
statuses
to-array
type-is
ultron
unpipe
utils-merge
vary
ws
xmlhttprequest-ssl
yeast
package-lock.jsonpackage.json
public

4
node_modules/component-bind/.npmignore generated vendored Normal file

@@ -0,0 +1,4 @@
support
test
examples
*.sock

13
node_modules/component-bind/History.md generated vendored Normal file

@@ -0,0 +1,13 @@
1.0.0 / 2014-05-27
==================
* index: use slice ref (#7, @viatropos)
* package: rename package to "component-bind"
* package: add "repository" field (#6, @repoify)
* package: add "component" section
0.0.1 / 2010-01-03
==================
* Initial release

7
node_modules/component-bind/Makefile generated vendored Normal file

@@ -0,0 +1,7 @@
test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
.PHONY: test

64
node_modules/component-bind/Readme.md generated vendored Normal file

@@ -0,0 +1,64 @@
# bind
Function binding utility.
## Installation
```
$ component install component/bind
```
## API
- [bind(obj, fn)](#bindobj-fn)
- [bind(obj, fn, ...)](#bindobj-fn-)
- [bind(obj, name)](#bindobj-name)
<a name=""></a>
<a name="bindobj-fn"></a>
### bind(obj, fn)
should bind the function to the given object.
```js
var tobi = { name: 'tobi' };
function name() {
return this.name;
}
var fn = bind(tobi, name);
fn().should.equal('tobi');
```
<a name="bindobj-fn-"></a>
### bind(obj, fn, ...)
should curry the remaining arguments.
```js
function add(a, b) {
return a + b;
}
bind(null, add)(1, 2).should.equal(3);
bind(null, add, 1)(2).should.equal(3);
bind(null, add, 1, 2)().should.equal(3);
```
<a name="bindobj-name"></a>
### bind(obj, name)
should bind the method of the given name.
```js
var tobi = { name: 'tobi' };
tobi.getName = function() {
return this.name;
};
var fn = bind(tobi, 'getName');
fn().should.equal('tobi');
```
## License
MIT

13
node_modules/component-bind/component.json generated vendored Normal file

@@ -0,0 +1,13 @@
{
"name": "bind",
"version": "1.0.0",
"description": "function binding utility",
"keywords": [
"bind",
"utility"
],
"dependencies": {},
"scripts": [
"index.js"
]
}

23
node_modules/component-bind/index.js generated vendored Normal file

@@ -0,0 +1,23 @@
/**
* Slice reference.
*/
var slice = [].slice;
/**
* Bind `obj` to `fn`.
*
* @param {Object} obj
* @param {Function|String} fn or string
* @return {Function}
* @api public
*/
module.exports = function(obj, fn){
if ('string' == typeof fn) fn = obj[fn];
if ('function' != typeof fn) throw new Error('bind() requires a function');
var args = slice.call(arguments, 2);
return function(){
return fn.apply(obj, args.concat(slice.call(arguments)));
}
};

51
node_modules/component-bind/package.json generated vendored Normal file

@@ -0,0 +1,51 @@
{
"_from": "component-bind@1.0.0",
"_id": "component-bind@1.0.0",
"_inBundle": false,
"_integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=",
"_location": "/component-bind",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "component-bind@1.0.0",
"name": "component-bind",
"escapedName": "component-bind",
"rawSpec": "1.0.0",
"saveSpec": null,
"fetchSpec": "1.0.0"
},
"_requiredBy": [
"/socket.io-client"
],
"_resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz",
"_shasum": "00c608ab7dcd93897c0009651b1d3a8e1e73bbd1",
"_spec": "component-bind@1.0.0",
"_where": "/home/twr/node/pixelnode/node_modules/socket.io-client",
"bugs": {
"url": "https://github.com/component/bind/issues"
},
"bundleDependencies": false,
"component": {
"scripts": {
"bind/index.js": "index.js"
}
},
"deprecated": false,
"description": "function binding utility",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"homepage": "https://github.com/component/bind#readme",
"keywords": [
"bind",
"utility"
],
"name": "component-bind",
"repository": {
"type": "git",
"url": "git+https://github.com/component/bind.git"
},
"version": "1.0.0"
}