30 lines
1.9 KiB
JSON
30 lines
1.9 KiB
JSON
|
{
|
||
|
"name": "colors",
|
||
|
"description": "get colors in your node.js console like what",
|
||
|
"version": "0.6.2",
|
||
|
"author": {
|
||
|
"name": "Marak Squires"
|
||
|
},
|
||
|
"homepage": "https://github.com/Marak/colors.js",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/Marak/colors.js/issues"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"ansi",
|
||
|
"terminal",
|
||
|
"colors"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "http://github.com/Marak/colors.js.git"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.1.90"
|
||
|
},
|
||
|
"main": "colors",
|
||
|
"readme": "# colors.js - get color and style in your node.js console ( and browser ) like what\n\n<img src=\"http://i.imgur.com/goJdO.png\" border = \"0\"/>\n\n\n## Installation\n\n npm install colors\n\n## colors and styles!\n\n- bold\n- italic\n- underline\n- inverse\n- yellow\n- cyan\n- white\n- magenta\n- green\n- red\n- grey\n- blue\n- rainbow\n- zebra\n- random\n\n## Usage\n\n``` js\nvar colors = require('./colors');\n\nconsole.log('hello'.green); // outputs green text\nconsole.log('i like cake and pies'.underline.red) // outputs red underlined text\nconsole.log('inverse the color'.inverse); // inverses the color\nconsole.log('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)\n```\n\n# Creating Custom themes\n\n```js\n\nvar colors = require('colors');\n\ncolors.setTheme({\n silly: 'rainbow',\n input: 'grey',\n verbose: 'cyan',\n prompt: 'grey',\n info: 'green',\n data: 'grey',\n help: 'cyan',\n warn: 'yellow',\n debug: 'blue',\n error: 'red'\n});\n\n// outputs red text\nconsole.log(\"this is an error\".error);\n\n// outputs yellow text\nconsole.log(\"this is a warning\".warn);\n```\n\n\n### Contributors \n\nMarak (Marak Squires)\nAlexis Sellier (cloudhead)\nmmalecki (Maciej Małecki)\nnicoreed (Nico Reed)\nmorganrallen (Morgan Allen)\nJustinCampbell (Justin Campbell)\nded (Dustin Diaz)\n\n\n#### , Marak Squires , Justin Campbell, Dustin Diaz (@ded)\n",
|
||
|
"readmeFilename": "ReadMe.md",
|
||
|
"_id": "colors@0.6.2",
|
||
|
"_from": "colors@"
|
||
|
}
|