updated sys and created publi
This commit is contained in:
+15
-41
@@ -1,50 +1,33 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "wrap-ansi@^2.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "wrap-ansi",
|
||||
"name": "wrap-ansi",
|
||||
"rawSpec": "^2.0.0",
|
||||
"spec": ">=2.0.0 <3.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/cliui"
|
||||
"wrap-ansi@2.1.0",
|
||||
"/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys"
|
||||
]
|
||||
],
|
||||
"_from": "wrap-ansi@>=2.0.0 <3.0.0",
|
||||
"_development": true,
|
||||
"_from": "wrap-ansi@2.1.0",
|
||||
"_id": "wrap-ansi@2.1.0",
|
||||
"_inCache": true,
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
|
||||
"_location": "/wrap-ansi",
|
||||
"_nodeVersion": "4.6.2",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/wrap-ansi-2.1.0.tgz_1480440082575_0.23112521297298372"
|
||||
},
|
||||
"_npmUser": {
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
},
|
||||
"_npmVersion": "2.15.11",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "wrap-ansi@^2.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "wrap-ansi",
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "wrap-ansi@2.1.0",
|
||||
"name": "wrap-ansi",
|
||||
"rawSpec": "^2.0.0",
|
||||
"spec": ">=2.0.0 <3.0.0",
|
||||
"type": "range"
|
||||
"escapedName": "wrap-ansi",
|
||||
"rawSpec": "2.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/cliui"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
|
||||
"_shasum": "d8fc3d284dd05794fe84973caecdd1cf824fdd85",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "wrap-ansi@^2.0.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/cliui",
|
||||
"_spec": "2.1.0",
|
||||
"_where": "/mnt/Data/bach/Documents/ola/OLA#5/ola5doc/sys",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
@@ -67,18 +50,12 @@
|
||||
"strip-ansi": "^3.0.0",
|
||||
"xo": "*"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "d8fc3d284dd05794fe84973caecdd1cf824fdd85",
|
||||
"tarball": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "a731af5a3461d92f2af302e81e05ea698a3c8c1a",
|
||||
"homepage": "https://github.com/chalk/wrap-ansi#readme",
|
||||
"keywords": [
|
||||
"wrap",
|
||||
@@ -131,9 +108,6 @@
|
||||
}
|
||||
],
|
||||
"name": "wrap-ansi",
|
||||
"optionalDependencies": {},
|
||||
"readme": "# wrap-ansi [](https://travis-ci.org/chalk/wrap-ansi) [](https://coveralls.io/github/chalk/wrap-ansi?branch=master)\n\n> Wordwrap a string with [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)\n\n\n## Install\n\n```\n$ npm install --save wrap-ansi\n```\n\n\n## Usage\n\n```js\nconst chalk = require('chalk');\nconst wrapAnsi = require('wrap-ansi');\n\nconst input = 'The quick brown ' + chalk.red('fox jumped over ') +\n\t'the lazy ' + chalk.green('dog and then ran away with the unicorn.');\n\nconsole.log(wrapAnsi(input, 20));\n```\n\n<img width=\"331\" src=\"screenshot.png\">\n\n\n## API\n\n### wrapAnsi(input, columns, [options])\n\nWrap words to the specified column width.\n\n#### input\n\nType: `string`\n\nString with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk).\n\n#### columns\n\nType: `number`\n\nNumber of columns to wrap the text to.\n\n#### options\n\n##### hard\n\nType: `boolean`<br>\nDefault: `false`\n\nBy default the wrap is soft, meaning long words may extend past the column width. Setting this to `true` will make it hard wrap at the column width.\n\n##### wordWrap\n\nType: `boolean`<br>\nDefault: `true`\n\nBy default, an attempt is made to split words at spaces, ensuring that they don't extend past the configured columns. If wordWrap is `false`, each column will instead be completely filled splitting words as necessary.\n\n\n## Related\n\n- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes\n- [cli-truncate](https://github.com/sindresorhus/cli-truncate) - Truncate a string to a specific width in the terminal\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n- [jsesc](https://github.com/mathiasbynens/jsesc) - Generate ASCII-only output from Unicode strings. Useful for creating test fixtures.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
||||
"readmeFilename": "readme.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/chalk/wrap-ansi.git"
|
||||
|
||||
Reference in New Issue
Block a user