updated sys and created publi
This commit is contained in:
+15
-47
@@ -1,50 +1,33 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "cliui@^3.2.0",
|
||||
"scope": null,
|
||||
"escapedName": "cliui",
|
||||
"name": "cliui",
|
||||
"rawSpec": "^3.2.0",
|
||||
"spec": ">=3.2.0 <4.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs"
|
||||
"cliui@3.2.0",
|
||||
"/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys"
|
||||
]
|
||||
],
|
||||
"_from": "cliui@>=3.2.0 <4.0.0",
|
||||
"_development": true,
|
||||
"_from": "cliui@3.2.0",
|
||||
"_id": "cliui@3.2.0",
|
||||
"_inCache": true,
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
|
||||
"_location": "/cliui",
|
||||
"_nodeVersion": "5.1.0",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/cliui-3.2.0.tgz_1460342854008_0.8861493801232427"
|
||||
},
|
||||
"_npmUser": {
|
||||
"name": "bcoe",
|
||||
"email": "ben@npmjs.com"
|
||||
},
|
||||
"_npmVersion": "3.3.12",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "cliui@^3.2.0",
|
||||
"scope": null,
|
||||
"escapedName": "cliui",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "cliui@3.2.0",
|
||||
"name": "cliui",
|
||||
"rawSpec": "^3.2.0",
|
||||
"spec": ">=3.2.0 <4.0.0",
|
||||
"type": "range"
|
||||
"escapedName": "cliui",
|
||||
"rawSpec": "3.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "3.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/yargs"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
|
||||
"_shasum": "120601537a916d29940f934da3b48d585a39213d",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "cliui@^3.2.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs",
|
||||
"_spec": "3.2.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys",
|
||||
"author": {
|
||||
"name": "Ben Coe",
|
||||
"email": "ben@npmjs.com"
|
||||
@@ -79,15 +62,9 @@
|
||||
"standard": "^6.0.8",
|
||||
"standard-version": "^2.1.2"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "120601537a916d29940f934da3b48d585a39213d",
|
||||
"tarball": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "75d62e9dfa77a0e0a9c3ac3b96b02baa294142ce",
|
||||
"homepage": "https://github.com/yargs/cliui#readme",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@@ -100,16 +77,7 @@
|
||||
],
|
||||
"license": "ISC",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "bcoe",
|
||||
"email": "ben@npmjs.com"
|
||||
}
|
||||
],
|
||||
"name": "cliui",
|
||||
"optionalDependencies": {},
|
||||
"readme": "# cliui\n\n[](https://travis-ci.org/yargs/cliui)\n[](https://coveralls.io/r/yargs/cliui?branch=)\n[](https://www.npmjs.com/package/cliui)\n[](https://github.com/conventional-changelog/standard-version)\n\neasily create complex multi-column command-line-interfaces.\n\n## Example\n\n```js\nvar ui = require('cliui')({\n width: 80\n})\n\nui.div('Usage: $0 [command] [options]')\n\nui.div({\n text: 'Options:',\n padding: [2, 0, 2, 0]\n})\n\nui.div(\n {\n text: \"-f, --file\",\n width: 20,\n padding: [0, 4, 0, 4]\n },\n {\n text: \"the file to load.\" +\n chalk.green(\"(if this description is long it wraps).\")\n ,\n width: 20\n },\n {\n text: chalk.red(\"[required]\"),\n align: 'right'\n }\n)\n\nconsole.log(ui.toString())\n```\n\n<img width=\"500\" src=\"screenshot.png\">\n\n## Layout DSL\n\ncliui exposes a simple layout DSL:\n\nIf you create a single `ui.row`, passing a string rather than an\nobject:\n\n* `\\n`: characters will be interpreted as new rows.\n* `\\t`: characters will be interpreted as new columns.\n* `\\s`: characters will be interpreted as padding.\n\n**as an example...**\n\n```js\nvar ui = require('./')({\n width: 60\n})\n\nui.div(\n 'Usage: node ./bin/foo.js\\n' +\n ' <regex>\\t provide a regex\\n' +\n ' <glob>\\t provide a glob\\t [required]'\n)\n\nconsole.log(ui.toString())\n```\n\n**will output:**\n\n```shell\nUsage: node ./bin/foo.js\n <regex> provide a regex\n <glob> provide a glob [required]\n```\n\n## Methods\n\n```js\ncliui = require('cliui')\n```\n\n### cliui({width: integer})\n\nSpecify the maximum width of the UI being generated.\n\n### cliui({wrap: boolean})\n\nEnable or disable the wrapping of text in a column.\n\n### cliui.div(column, column, column)\n\nCreate a row with any number of columns, a column\ncan either be a string, or an object with the following\noptions:\n\n* **width:** the width of a column.\n* **align:** alignment, `right` or `center`.\n* **padding:** `[top, right, bottom, left]`.\n* **border:** should a border be placed around the div?\n\n### cliui.span(column, column, column)\n\nSimilar to `div`, except the next row will be appended without\na new line being created.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/yargs/cliui.git"
|
||||
|
||||
Reference in New Issue
Block a user