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

9
node_modules/remove-trailing-separator/history.md generated vendored Normal file
View File

@ -0,0 +1,9 @@
## History
### 1.0.1 - 25th Sep 2016
- [b78606d](https://github.com/darsain/remove-trailing-separator/commit/af90b4e153a4527894741af6c7005acaeb78606d) Remove backslash only on win32 systems
### 1.0.0 - 24th Sep 2016
Initial release.

13
node_modules/remove-trailing-separator/index.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
const isWin = process.platform === 'win32';
module.exports = function (str) {
while (endsInSeparator(str)) {
str = str.slice(0, -1);
}
return str;
};
function endsInSeparator(str) {
var last = str[str.length - 1];
return str.length > 1 && (last === '/' || (isWin && last === '\\'));
}

3
node_modules/remove-trailing-separator/license generated vendored Normal file
View File

@ -0,0 +1,3 @@
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

91
node_modules/remove-trailing-separator/package.json generated vendored Normal file
View File

@ -0,0 +1,91 @@
{
"_args": [
[
"remove-trailing-separator@^1.0.1",
"C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\normalize-path"
]
],
"_from": "remove-trailing-separator@>=1.0.1-0 <2.0.0-0",
"_id": "remove-trailing-separator@1.0.1",
"_inCache": true,
"_location": "/remove-trailing-separator",
"_nodeVersion": "6.4.0",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/remove-trailing-separator-1.0.1.tgz_1474797962066_0.45308714639395475"
},
"_npmUser": {
"email": "darsain@gmail.com",
"name": "darsain"
},
"_npmVersion": "3.10.5",
"_phantomChildren": {},
"_requested": {
"name": "remove-trailing-separator",
"raw": "remove-trailing-separator@^1.0.1",
"rawSpec": "^1.0.1",
"scope": null,
"spec": ">=1.0.1-0 <2.0.0-0",
"type": "range"
},
"_requiredBy": [
"/normalize-path"
],
"_resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz",
"_shasum": "615ebb96af559552d4bf4057c8436d486ab63cc4",
"_shrinkwrap": null,
"_spec": "remove-trailing-separator@^1.0.1",
"_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\normalize-path",
"author": {
"name": "darsain"
},
"bugs": {
"url": "https://github.com/darsain/remove-trailing-separator/issues"
},
"dependencies": {},
"description": "Removes separators from the end of the string.",
"devDependencies": {
"ava": "^0.16.0",
"coveralls": "^2.11.14",
"nyc": "^8.3.0",
"xo": "^0.16.0"
},
"directories": {},
"dist": {
"shasum": "615ebb96af559552d4bf4057c8436d486ab63cc4",
"tarball": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz"
},
"files": [
"index.js"
],
"gitHead": "8a5da3ac1efb1314d55e50a2a923b068d500d77a",
"homepage": "https://github.com/darsain/remove-trailing-separator#readme",
"installable": true,
"keywords": [
"remove",
"separator",
"strip",
"trailing"
],
"license": "ISC",
"main": "index.js",
"maintainers": [
{
"name": "darsain",
"email": "darsain@gmail.com"
}
],
"name": "remove-trailing-separator",
"optionalDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/darsain/remove-trailing-separator.git"
},
"scripts": {
"lint": "xo",
"pretest": "npm run lint",
"report": "nyc report --reporter=html",
"test": "nyc ava"
},
"version": "1.0.1"
}

51
node_modules/remove-trailing-separator/readme.md generated vendored Normal file
View File

@ -0,0 +1,51 @@
# remove-trailing-separator
[![NPM version][npm-img]][npm-url] [![Build Status: Linux][travis-img]][travis-url] [![Build Status: Windows][appveyor-img]][appveyor-url] [![Coverage Status][coveralls-img]][coveralls-url]
Removes all separators from the end of a string.
## Install
```
npm install remove-trailing-separator
```
## Examples
```js
const removeTrailingSeparator = require('remove-trailing-separator');
removeTrailingSeparator('/foo/bar/') // '/foo/bar'
removeTrailingSeparator('/foo/bar///') // '/foo/bar'
// leaves only/last separator
removeTrailingSeparator('/') // '/'
removeTrailingSeparator('///') // '/'
// returns empty string
removeTrailingSeparator('') // ''
```
## Backslash, or win32 separator
`\` is considered a separator only on WIN32 systems. All UNIX compliant systems
see backslash as a valid file name character, so it would break UNIX compliance
to remove it there.
In practice, this means that this code will return different things depending on
what system it runs on:
```
removeTrailingSeparator('\\foo\\')
// UNIX => '\\foo\\'
// WIN32 => '\\foo'
```
[npm-url]: https://npmjs.org/package/remove-trailing-separator
[npm-img]: https://badge.fury.io/js/remove-trailing-separator.svg
[travis-url]: https://travis-ci.org/darsain/remove-trailing-separator
[travis-img]: https://travis-ci.org/darsain/remove-trailing-separator.svg?branch=master
[appveyor-url]: https://ci.appveyor.com/project/darsain/remove-trailing-separator/branch/master
[appveyor-img]: https://ci.appveyor.com/api/projects/status/wvg9a93rrq95n2xl/branch/master?svg=true
[coveralls-url]: https://coveralls.io/github/darsain/remove-trailing-separator?branch=master
[coveralls-img]: https://coveralls.io/repos/github/darsain/remove-trailing-separator/badge.svg?branch=master