{
  "_args": [
    [
      {
        "raw": "couleurs@^6.0.6",
        "scope": null,
        "escapedName": "couleurs",
        "name": "couleurs",
        "rawSpec": "^6.0.6",
        "spec": ">=6.0.6 <7.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/bug-killer"
    ]
  ],
  "_from": "couleurs@>=6.0.6 <7.0.0",
  "_id": "couleurs@6.0.9",
  "_inCache": true,
  "_location": "/couleurs",
  "_nodeVersion": "7.0.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/couleurs-6.0.9.tgz_1504873383518_0.2597208658698946"
  },
  "_npmUser": {
    "name": "ionicabizau",
    "email": "bizauionica@gmail.com"
  },
  "_npmVersion": "4.1.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "couleurs@^6.0.6",
    "scope": null,
    "escapedName": "couleurs",
    "name": "couleurs",
    "rawSpec": "^6.0.6",
    "spec": ">=6.0.6 <7.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/bug-killer"
  ],
  "_resolved": "https://registry.npmjs.org/couleurs/-/couleurs-6.0.9.tgz",
  "_shasum": "b2b2a3ee37dae51875c9efd243ec7e7894afbc9e",
  "_shrinkwrap": null,
  "_spec": "couleurs@^6.0.6",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/bug-killer",
  "author": {
    "name": "Ionică Bizău",
    "email": "bizauionica@gmail.com",
    "url": "https://ionicabizau.net"
  },
  "blah": {
    "h_img": "http://i.imgur.com/W3rh7oh.png",
    "ex_img": "http://i.imgur.com/M1D9mxT.png"
  },
  "bugs": {
    "url": "https://github.com/IonicaBizau/node-couleurs/issues"
  },
  "dependencies": {
    "ansy": "^1.0.0",
    "color-convert": "^1.0.0",
    "iterate-object": "^1.3.1",
    "typpy": "^2.3.1"
  },
  "description": "Add some color and styles to your Node.JS strings.",
  "devDependencies": {
    "flat-colors": "^3.0.0",
    "tester": "^1.3.1"
  },
  "directories": {
    "example": "example",
    "test": "test"
  },
  "dist": {
    "shasum": "b2b2a3ee37dae51875c9efd243ec7e7894afbc9e",
    "tarball": "https://registry.npmjs.org/couleurs/-/couleurs-6.0.9.tgz"
  },
  "files": [
    "bin/",
    "app/",
    "lib/",
    "dist/",
    "src/",
    "scripts/",
    "resources/",
    "menu/",
    "cli.js",
    "index.js",
    "bloggify.js",
    "bloggify.json",
    "bloggify/"
  ],
  "gitHead": "2ff3930b853aa153c56fb371549125669ce0dac1",
  "homepage": "https://github.com/IonicaBizau/node-couleurs",
  "keywords": [
    "colors",
    "ascii",
    "256",
    "terminal"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "maintainers": [
    {
      "name": "ionicabizau",
      "email": "bizauionica@yahoo.com"
    }
  ],
  "name": "couleurs",
  "optionalDependencies": {},
  "readme": "<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->\n\n\n[![couleurs](http://i.imgur.com/W3rh7oh.png)](#)\n\n# couleurs\n\n [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Travis](https://img.shields.io/travis/IonicaBizau/node-couleurs.svg)](https://travis-ci.org/IonicaBizau/node-couleurs/) [![Version](https://img.shields.io/npm/v/couleurs.svg)](https://www.npmjs.com/package/couleurs) [![Downloads](https://img.shields.io/npm/dt/couleurs.svg)](https://www.npmjs.com/package/couleurs)\n\n> Add some color and styles to your Node.JS strings.\n\n[![couleurs](http://i.imgur.com/M1D9mxT.png)](#)\n\n## :cloud: Installation\n\n```sh\n$ npm i --save couleurs\n```\n\n\n## :clipboard: Example\n\n\n\n```js\nconst colors = require(\"couleurs\")\n    , FlatColors = require(\"flat-colors\")\n    ;\n\n// Basic usage using a random flat color\nlet colored = new colors(\"Hello World\").fg(FlatColors());\nconsole.log(colored.toString());\n\n// Other ways to color the strings\nconsole.log(colors.fg(\"Red\", [255, 0, 0]));\n\nconsole.log(colors(\"Red foreground\", [255, 0, 0]));\nconsole.log(colors.fg(\"Yellow\", 255, 255, 0));\nconsole.log(colors.fg(\"Blue\", \"#2980b9\"));\nconsole.log(colors.bg(\"Blue Background\", \"#2980b9\"));\nconsole.log(colors(\"Blue & Underline\").fg(\"#2980b9\").bold().underline().toString());\n\nconsole.log(colors.bold(\"Bold\"));\nconsole.log(colors.italic(\"Italic\"));\n\n// Modify prototype\ncolors.proto();\n\nconsole.log(\"Underline\".underline());\nconsole.log(\"Inverse\".inverse());\nconsole.log(\"Strikethrough\".strike());\n\nconsole.log(\"All combined\"\n    .fg(\"#d35400\")\n    .bold()\n    .italic()\n    .underline()\n    .inverse()\n    .strike()\n);\n```\n\n\n\n## :question: Get Help\n\nThere are few ways to get help:\n\n 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.\n 2. For bug reports and feature requests, open issues. :bug:\n 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:\n\n\n## :memo: Documentation\n\n\n### `Couleurs(setStringProto, fg)`\n\n#### Params\n\n- **Boolean** `setStringProto`: If `true`, the prototype of String class will be modified.\n- **String|Array** `fg`: An optional foreground color.\n\n#### Return\n- **String|Object** The colored string if the `fg` argument was provided or an object containing the following methods:\n\n - `proto`\n - `toString`\n - `fg`\n - `bg`\n - `bold`\n - `italic`\n - `underline`\n - `inverse`\n - `strike`\n\n### `toString()`\nConverts the internal object into string.\n\n#### Return\n- **String** Stringifies the couleurs internal data using ANSI styles.\n\n### `proto()`\nModifies the `String` prototype to contain the `Couleurs` methods.\n\n\n\n## :yum: How to contribute\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n\n## :sparkling_heart: Support my projects\n\nI open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously,\nthis takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).\n\nHowever, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:\n\n - Starring and sharing the projects you like :rocket:\n - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:\n - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).\n - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`\n\n    ![](https://i.imgur.com/z6OQI95.png)\n\nThanks! :heart:\n\n\n## :dizzy: Where is this library used?\nIf you are using this library in one of your projects, add it in this list. :sparkles:\n\n\n - [`3abn`](https://github.com/IonicaBizau/3abn#readme)—A 3ABN radio client in the terminal.\n - [`asciify-image`](https://github.com/ajay-gandhi/asciify-image) (by Ajay Gandhi)—Convert images to ASCII art without native dependencies\n - [`asciify-pixel`](https://github.com/IonicaBizau/asciify-pixel#readme)—Asciifies a pixel object.\n - [`bible`](https://github.com/BibleJS/BibleApp)—Read the Holy Bible via the command line.\n - [`birthday`](https://github.com/IonicaBizau/birthday)—Know when a friend's birthday is coming.\n - [`bloggify-tools`](https://github.com/Bloggify/bloggify-tools)—Interactive command line tool to help you win at Bloggify.\n - [`bug-killer`](https://github.com/IonicaBizau/node-bug-killer)—Simple way to log messages in stdout or other stream.\n - [`cli-confeti`](https://github.com/IonicaBizau/cli-confeti#readme)—Confeti in your terminal.\n - [`cli-confetti`](https://github.com/IonicaBizau/cli-confetti#readme)—Confetti in your terminal.\n - [`cli-gh-cal`](https://github.com/IonicaBizau/cli-gh-cal)—GitHub like calendar graphs in command line.\n - [`cli-github`](https://github.com/IonicaBizau/cli-github)—A fancy GitHub client for command line.\n - [`cli-pie`](https://github.com/IonicaBizau/node-cli-pie)—Generate pie charts in terminal and text mode.\n - [`cli-sunset`](https://github.com/IonicaBizau/cli-sunset)—A fancy command line tool for knowing the sunset time.\n - [`closeheat`](https://github.com/closeheat/cli) (by Domas Bitvinskas)—Static Website Hosting with CMS without touching your code.\n - [`color-it`](https://github.com/IonicaBizau/node-color-it#readme)—Flat colors for your Node.js strings.\n - [`csk-cli`](https://github.com/joshumax/csk-cli) (by Josh Max)—A command-line client to ClearDarkSky.com, written in Node.js\n - [`cute-logger`](https://github.com/IonicaBizau/cute-logger)—Simple way to log messages in stdout or other stream.\n - [`fb-falafel`](https://fb-falafel.ml) (by Ajay and Kevin)—Facebook for the 1337\n - [`git-issues`](https://github.com/softwarescales/git-issues) (by Gabriel Petrovay)—Git issues extension to list issues of a Git project\n - [`git-issues1`](https://github.com/softwarescales/git-issues) (by Gabriel Petrovay)—Git issues extension to list issues of a Git project\n - [`git-stats-colors`](https://github.com/IonicaBizau/node-git-stats-colors)—Adds colors to the git-stats inputs.\n - [`git-unsaved`](https://github.com/IonicaBizau/git-unsaved#readme)—Scan your projects directory for dirty git repositories.\n - [`github-emojify`](https://github.com/IonicaBizau/github-emojify#readme)—Emojify your GitHub repository descriptions.\n - [`github-stats`](https://github.com/IonicaBizau/github-stats)—Visualize stats about GitHub users and projects in your terminal.\n - [`idea`](https://github.com/IonicaBizau/idea)—A lightweight CLI tool and module for keeping ideas in a safe place quick and easy.\n - [`overlap`](https://github.com/IonicaBizau/node-overlap)—Overlap two strings that contain new lines. Useful for ASCII drawings.\n - [`tithe`](https://github.com/IonicaBizau/tithe)—Organize and track the tithe payments.\n\n## :scroll: License\n\n[MIT][license] © [Ionică Bizău][website]\n\n[badge_patreon]: http://ionicabizau.github.io/badges/patreon.svg\n[badge_amazon]: http://ionicabizau.github.io/badges/amazon.svg\n[badge_paypal]: http://ionicabizau.github.io/badges/paypal.svg\n[badge_paypal_donate]: http://ionicabizau.github.io/badges/paypal_donate.svg\n[patreon]: https://www.patreon.com/ionicabizau\n[amazon]: http://amzn.eu/hRo9sIZ\n[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW\n[donate-now]: http://i.imgur.com/6cMbHOC.png\n\n[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2014#license-mit\n[website]: https://ionicabizau.net\n[contributing]: /CONTRIBUTING.md\n[docs]: /DOCUMENTATION.md\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/IonicaBizau/node-couleurs.git"
  },
  "scripts": {
    "test": "node test"
  },
  "version": "6.0.9"
}
