package.json 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "_args": [
  3. [
  4. "text-table@^0.2.0",
  5. "/home/seleznev/project Angular/Quality system/node_modules/yeoman-environment"
  6. ]
  7. ],
  8. "_from": "text-table@>=0.2.0 <0.3.0",
  9. "_id": "text-table@0.2.0",
  10. "_inCache": true,
  11. "_installable": true,
  12. "_location": "/text-table",
  13. "_npmUser": {
  14. "email": "mail@substack.net",
  15. "name": "substack"
  16. },
  17. "_npmVersion": "1.3.7",
  18. "_phantomChildren": {},
  19. "_requested": {
  20. "name": "text-table",
  21. "raw": "text-table@^0.2.0",
  22. "rawSpec": "^0.2.0",
  23. "scope": null,
  24. "spec": ">=0.2.0 <0.3.0",
  25. "type": "range"
  26. },
  27. "_requiredBy": [
  28. "/yeoman-environment",
  29. "/yeoman-generator"
  30. ],
  31. "_resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
  32. "_shasum": "7f5ee823ae805207c00af2df4a84ec3fcfa570b4",
  33. "_shrinkwrap": null,
  34. "_spec": "text-table@^0.2.0",
  35. "_where": "/home/seleznev/project Angular/Quality system/node_modules/yeoman-environment",
  36. "author": {
  37. "email": "mail@substack.net",
  38. "name": "James Halliday",
  39. "url": "http://substack.net"
  40. },
  41. "bugs": {
  42. "url": "https://github.com/substack/text-table/issues"
  43. },
  44. "dependencies": {},
  45. "description": "borderless text tables with alignment",
  46. "devDependencies": {
  47. "cli-color": "~0.2.3",
  48. "tap": "~0.4.0",
  49. "tape": "~1.0.2"
  50. },
  51. "directories": {},
  52. "dist": {
  53. "shasum": "7f5ee823ae805207c00af2df4a84ec3fcfa570b4",
  54. "tarball": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz"
  55. },
  56. "homepage": "https://github.com/substack/text-table",
  57. "keywords": [
  58. "align",
  59. "ascii",
  60. "rows",
  61. "table",
  62. "tabular",
  63. "text"
  64. ],
  65. "license": "MIT",
  66. "main": "index.js",
  67. "maintainers": [
  68. {
  69. "name": "substack",
  70. "email": "mail@substack.net"
  71. }
  72. ],
  73. "name": "text-table",
  74. "optionalDependencies": {},
  75. "readme": "# text-table\n\ngenerate borderless text table strings suitable for printing to stdout\n\n[![build status](https://secure.travis-ci.org/substack/text-table.png)](http://travis-ci.org/substack/text-table)\n\n[![browser support](https://ci.testling.com/substack/text-table.png)](http://ci.testling.com/substack/text-table)\n\n# example\n\n## default align\n\n``` js\nvar table = require('text-table');\nvar t = table([\n [ 'master', '0123456789abcdef' ],\n [ 'staging', 'fedcba9876543210' ]\n]);\nconsole.log(t);\n```\n\n```\nmaster 0123456789abcdef\nstaging fedcba9876543210\n```\n\n## left-right align\n\n``` js\nvar table = require('text-table');\nvar t = table([\n [ 'beep', '1024' ],\n [ 'boop', '33450' ],\n [ 'foo', '1006' ],\n [ 'bar', '45' ]\n], { align: [ 'l', 'r' ] });\nconsole.log(t);\n```\n\n```\nbeep 1024\nboop 33450\nfoo 1006\nbar 45\n```\n\n## dotted align\n\n``` js\nvar table = require('text-table');\nvar t = table([\n [ 'beep', '1024' ],\n [ 'boop', '334.212' ],\n [ 'foo', '1006' ],\n [ 'bar', '45.6' ],\n [ 'baz', '123.' ]\n], { align: [ 'l', '.' ] });\nconsole.log(t);\n```\n\n```\nbeep 1024\nboop 334.212\nfoo 1006\nbar 45.6\nbaz 123.\n```\n\n## centered\n\n``` js\nvar table = require('text-table');\nvar t = table([\n [ 'beep', '1024', 'xyz' ],\n [ 'boop', '3388450', 'tuv' ],\n [ 'foo', '10106', 'qrstuv' ],\n [ 'bar', '45', 'lmno' ]\n], { align: [ 'l', 'c', 'l' ] });\nconsole.log(t);\n```\n\n```\nbeep 1024 xyz\nboop 3388450 tuv\nfoo 10106 qrstuv\nbar 45 lmno\n```\n\n# methods\n\n``` js\nvar table = require('text-table')\n```\n\n## var s = table(rows, opts={})\n\nReturn a formatted table string `s` from an array of `rows` and some options\n`opts`.\n\n`rows` should be an array of arrays containing strings, numbers, or other\nprintable values.\n\noptions can be:\n\n* `opts.hsep` - separator to use between columns, default `' '`\n* `opts.align` - array of alignment types for each column, default `['l','l',...]`\n* `opts.stringLength` - callback function to use when calculating the string length\n\nalignment types are:\n\n* `'l'` - left\n* `'r'` - right\n* `'c'` - center\n* `'.'` - decimal\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install text-table\n```\n\n# Use with ANSI-colors\n\nSince the string length of ANSI color schemes does not equal the length\nJavaScript sees internally it is necessary to pass the a custom string length\ncalculator during the main function call.\n\nSee the `test/ansi-colors.js` file for an example.\n\n# license\n\nMIT\n",
  76. "readmeFilename": "readme.markdown",
  77. "repository": {
  78. "type": "git",
  79. "url": "git://github.com/substack/text-table.git"
  80. },
  81. "scripts": {
  82. "test": "tap test/*.js"
  83. },
  84. "testling": {
  85. "browsers": [
  86. "chrome/20..latest",
  87. "firefox/10..latest",
  88. "ie/6..latest",
  89. "ipad/6",
  90. "iphone/6",
  91. "opera/11.0..latest",
  92. "safari/latest"
  93. ],
  94. "files": "test/*.js"
  95. },
  96. "version": "0.2.0"
  97. }