Galerie und tage
This commit is contained in:
18
node_modules/ext-list/index.js
generated
vendored
18
node_modules/ext-list/index.js
generated
vendored
@@ -1,18 +0,0 @@
|
||||
'use strict';
|
||||
var mimeDb = require('mime-db');
|
||||
|
||||
module.exports = function () {
|
||||
var ret = {};
|
||||
|
||||
Object.keys(mimeDb).forEach(function (x) {
|
||||
var val = mimeDb[x];
|
||||
|
||||
if (val.extensions && val.extensions.length > 0) {
|
||||
val.extensions.forEach(function (y) {
|
||||
ret[y] = x;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return ret;
|
||||
};
|
||||
21
node_modules/ext-list/license
generated
vendored
21
node_modules/ext-list/license
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com>
|
||||
|
||||
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.
|
||||
64
node_modules/ext-list/package.json
generated
vendored
64
node_modules/ext-list/package.json
generated
vendored
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"_from": "ext-list@^2.0.0",
|
||||
"_id": "ext-list@2.2.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==",
|
||||
"_location": "/ext-list",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "ext-list@^2.0.0",
|
||||
"name": "ext-list",
|
||||
"escapedName": "ext-list",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/ext-name"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/ext-list/-/ext-list-2.2.2.tgz",
|
||||
"_shasum": "0b98e64ed82f5acf0f2931babf69212ef52ddd37",
|
||||
"_spec": "ext-list@^2.0.0",
|
||||
"_where": "/var/www/html/jason/WeihnachtenMelly/node_modules/ext-name",
|
||||
"author": {
|
||||
"name": "Kevin Mårtensson",
|
||||
"email": "kevinmartensson@gmail.com",
|
||||
"url": "https://github.com/kevva"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/kevva/ext-list/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"mime-db": "^1.28.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "List of known file extensions and their MIME types",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/kevva/ext-list#readme",
|
||||
"keywords": [
|
||||
"ext",
|
||||
"mime"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "ext-list",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/kevva/ext-list.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "2.2.2"
|
||||
}
|
||||
25
node_modules/ext-list/readme.md
generated
vendored
25
node_modules/ext-list/readme.md
generated
vendored
@@ -1,25 +0,0 @@
|
||||
# ext-list [](https://travis-ci.org/kevva/ext-list)
|
||||
|
||||
> Return a list of known [file extensions](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) and their MIME types
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save ext-list
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const extList = require('ext-list');
|
||||
|
||||
extList();
|
||||
//=> {'123': 'application/vnd.lotus-1-2-3', ez: 'application/andrew-inset', aw: 'application/applixware', ...}
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Kevin Mårtensson](https://github.com/kevva)
|
||||
Reference in New Issue
Block a user