Template Upload

This commit is contained in:
SOUTHERNCO\x2mjbyrn
2017-05-17 13:45:25 -04:00
parent 415b9c25f3
commit 7efe7605b8
11476 changed files with 2170865 additions and 34 deletions

29
node_modules/path-type/index.js generated vendored Normal file
View File

@ -0,0 +1,29 @@
'use strict';
var fs = require('graceful-fs');
var Promise = require('pinkie-promise');
var pify = require('pify');
function type(fn, fn2, fp) {
if (typeof fp !== 'string') {
return Promise.reject(new TypeError('Expected a string'));
}
return pify(fs[fn], Promise)(fp).then(function (stats) {
return stats[fn2]();
});
}
function typeSync(fn, fn2, fp) {
if (typeof fp !== 'string') {
throw new TypeError('Expected a string');
}
return fs[fn](fp)[fn2]();
}
exports.file = type.bind(null, 'stat', 'isFile');
exports.dir = type.bind(null, 'stat', 'isDirectory');
exports.symlink = type.bind(null, 'lstat', 'isSymbolicLink');
exports.fileSync = typeSync.bind(null, 'statSync', 'isFile');
exports.dirSync = typeSync.bind(null, 'statSync', 'isDirectory');
exports.symlinkSync = typeSync.bind(null, 'lstatSync', 'isSymbolicLink');

21
node_modules/path-type/license generated vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.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.

106
node_modules/path-type/package.json generated vendored Normal file
View File

@ -0,0 +1,106 @@
{
"_args": [
[
"path-type@^1.0.0",
"C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\read-pkg"
]
],
"_from": "path-type@>=1.0.0-0 <2.0.0-0",
"_id": "path-type@1.1.0",
"_inCache": true,
"_location": "/path-type",
"_nodeVersion": "4.2.1",
"_npmUser": {
"email": "sindresorhus@gmail.com",
"name": "sindresorhus"
},
"_npmVersion": "2.14.7",
"_phantomChildren": {},
"_requested": {
"name": "path-type",
"raw": "path-type@^1.0.0",
"rawSpec": "^1.0.0",
"scope": null,
"spec": ">=1.0.0-0 <2.0.0-0",
"type": "range"
},
"_requiredBy": [
"/read-pkg"
],
"_resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
"_shasum": "59c44f7ee491da704da415da5a4070ba4f8fe441",
"_shrinkwrap": null,
"_spec": "path-type@^1.0.0",
"_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\read-pkg",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/path-type/issues"
},
"dependencies": {
"graceful-fs": "^4.1.2",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0"
},
"description": "Check if a path is a file, directory, or symlink",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "59c44f7ee491da704da415da5a4070ba4f8fe441",
"tarball": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "dff5c2a62f89efe7e0cce600bf38e76196d8b4b2",
"homepage": "https://github.com/sindresorhus/path-type",
"installable": true,
"keywords": [
"check",
"dir",
"directory",
"file",
"filepath",
"filesystem",
"fs",
"is",
"link",
"path",
"stat",
"stats",
"symbolic",
"symlink",
"type"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "path-type",
"optionalDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/sindresorhus/path-type"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.1.0",
"xo": {
"ignores": [
"test.js"
]
}
}

42
node_modules/path-type/readme.md generated vendored Normal file
View File

@ -0,0 +1,42 @@
# path-type [![Build Status](https://travis-ci.org/sindresorhus/path-type.svg?branch=master)](https://travis-ci.org/sindresorhus/path-type)
> Check if a path is a file, directory, or symlink
## Install
```
$ npm install --save path-type
```
## Usage
```js
var pathType = require('path-type');
pathType.file('package.json').then(function (isFile) {
console.log(isFile);
//=> true
})
```
## API
### .file(path)
### .dir(path)
### .symlink(path)
Returns a promise that resolves to a boolean of whether the path is the checked type.
### .fileSync(path)
### .dirSync(path)
### .symlinkSync(path)
Returns a boolean of whether the path is the checked type.
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)