Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

7
node_modules/optional/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,7 @@
Copyright 2015
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.

32
node_modules/optional/README.md generated vendored Normal file
View File

@@ -0,0 +1,32 @@
#OPTIONAL
Node-optional allows you to optionally 'require' modules without surrounding everything with 'try/catch'. Usage and installation is easy and this module itself is very easy and straightforward to use.
##Install
```
npm install optional
```
##Usage
```javascript
var optional = require("./optional");
var express = optional("express");
var fs = optional("fs");
console.log("express: " + express);
console.log("fs: " + fs);
```
Output:
```
express: null
fs: [object Object]
```
##Changelog
###v0.1.0-2
* Corrected bug when trying to optionally include relative paths

13
node_modules/optional/optional.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
module.exports = function(module, options){
try{
if(module[0] in {".":1}){
module = process.cwd() + module.substr(1);
}
return require(module);
}catch(err){
if (err.code !== "MODULE_NOT_FOUND" && options && options.rethrow) {
throw err;
}
}
return null;
};

13
node_modules/optional/package.json generated vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"name":"optional"
,"version":"0.1.4"
,"homepage":"http://segomos.com/"
,"main":"optional"
,"repository":{
"type":"git"
,"url":"git@github.com:tony-o/node-optional.git"
}
,"description":"Allows you to optionally include modules without surrounding everything with 'try/catch'"
,"keywords":["include","optional include","optional","require","exists"]
,"license":"MIT"
}

7
node_modules/optional/test.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
var optional = require("./optional");
var express = optional("express");
var fs = optional("fs");
console.log("express: " + express);
console.log("fs: " + fs);