This commit is contained in:
eric sciple 2020-01-24 12:30:26 -05:00
parent 00c3b50fca
commit ae5dcb46c8
7331 changed files with 1784502 additions and 0 deletions

10
node_modules/trim-right/index.js generated vendored Normal file
View file

@ -0,0 +1,10 @@
'use strict';
module.exports = function (str) {
var tail = str.length;
while (/[\s\uFEFF\u00A0]/.test(str[tail - 1])) {
tail--;
}
return str.slice(0, tail);
};

21
node_modules/trim-right/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.

41
node_modules/trim-right/package.json generated vendored Normal file
View file

@ -0,0 +1,41 @@
{
"name": "trim-right",
"version": "1.0.1",
"description": "Similar to String#trim() but removes only whitespace on the right",
"license": "MIT",
"repository": "sindresorhus/trim-right",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "node test.js"
},
"files": [
"index.js"
],
"keywords": [
"trim",
"right",
"string",
"str",
"util",
"utils",
"utility",
"whitespace",
"space",
"remove",
"delete"
],
"devDependencies": {
"ava": "0.0.4"
}
,"_resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz"
,"_integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM="
,"_from": "trim-right@1.0.1"
}

30
node_modules/trim-right/readme.md generated vendored Normal file
View file

@ -0,0 +1,30 @@
# trim-right [![Build Status](https://travis-ci.org/sindresorhus/trim-right.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-right)
> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only whitespace on the right
## Install
```
$ npm install --save trim-right
```
## Usage
```js
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
```
## Related
- [`trim-left`](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)