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/widest-line/index.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
'use strict';
var stringWidth = require('string-width');
module.exports = function (str) {
return Math.max.apply(null, str.split('\n').map(function (x) {
return stringWidth(x);
}));
};

21
node_modules/widest-line/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.

108
node_modules/widest-line/package.json generated vendored Normal file
View File

@ -0,0 +1,108 @@
{
"_args": [
[
"widest-line@^1.0.0",
"C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\boxen"
]
],
"_from": "widest-line@>=1.0.0-0 <2.0.0-0",
"_id": "widest-line@1.0.0",
"_inCache": true,
"_location": "/widest-line",
"_nodeVersion": "4.2.1",
"_npmUser": {
"email": "sindresorhus@gmail.com",
"name": "sindresorhus"
},
"_npmVersion": "2.14.7",
"_phantomChildren": {},
"_requested": {
"name": "widest-line",
"raw": "widest-line@^1.0.0",
"rawSpec": "^1.0.0",
"scope": null,
"spec": ">=1.0.0-0 <2.0.0-0",
"type": "range"
},
"_requiredBy": [
"/boxen"
],
"_resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz",
"_shasum": "0c09c85c2a94683d0d7eaf8ee097d564bf0e105c",
"_shrinkwrap": null,
"_spec": "widest-line@^1.0.0",
"_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\boxen",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/widest-line/issues"
},
"dependencies": {
"string-width": "^1.0.1"
},
"description": "Get the visual width of the widest line in a string - the number of columns required to display it",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "0c09c85c2a94683d0d7eaf8ee097d564bf0e105c",
"tarball": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "8193ed602f6c06939099e574b92828edb896bb8e",
"homepage": "https://github.com/sindresorhus/widest-line",
"installable": true,
"keywords": [
"ansi",
"char",
"character",
"chinese",
"cjk",
"cli",
"codes",
"column",
"columns",
"command-line",
"console",
"escape",
"fixed-width",
"full",
"full-width",
"fullwidth",
"japanese",
"korean",
"str",
"string",
"terminal",
"unicode",
"visual",
"width"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "widest-line",
"optionalDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/sindresorhus/widest-line"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.0.0"
}

34
node_modules/widest-line/readme.md generated vendored Normal file
View File

@ -0,0 +1,34 @@
# widest-line [![Build Status](https://travis-ci.org/sindresorhus/widest-line.svg?branch=master)](https://travis-ci.org/sindresorhus/widest-line)
> Get the visual width of the widest line in a string - the number of columns required to display it
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
Useful to be able to know the maximum width a string will take up in the terminal.
## Install
```
$ npm install --save widest-line
```
## Usage
```js
const widestLine = require('widest-line');
widestLine('古\n\u001b[1m@\u001b[22m');
//=> 2
```
## Related
- [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)