{"_id":"8colors","_rev":"6-bd2258d904331fa112627125de85b019","name":"8colors","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"8colors","version":"1.0.0","keywords":["ansi","colors","eight","8colors","console","log","cli","color","style","console.log"],"author":{"name":"John Martin R. Disuanco"},"license":"MIT","_id":"8colors@1.0.0","maintainers":[{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"}],"dist":{"shasum":"7e59d0ac4e68783db681a9edb10813cfce8b6524","tarball":"https://registry.npmjs.org/8colors/-/8colors-1.0.0.tgz","integrity":"sha512-aCexUSNMNk+fZNJSFZGmnVRVsUiDrHoVTyDQPKoX5GbMek9SdlnlmA/kjv0swiA6KT2hwvTSjEVTWky7HfdTWw==","signatures":[{"sig":"MEUCIQDO+PwoDdEzx0MnlPL8ONZPX2MZqlVdma9qaXPag1E6nwIgEZvc+AMxjcIiMwWXg2aRzos3nnKsCcXyX0P76u23Xa8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7e59d0ac4e68783db681a9edb10813cfce8b6524","gitHead":"aadb703b5f447d74896d3b90accb783f99b3576f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"},"_npmVersion":"4.6.1","description":"ANSI Colors for the terminal console","_nodeVersion":"8.9.1","_npmOperationalInternal":{"tmp":"tmp/8colors-1.0.0.tgz_1516441100402_0.6806204549502581","host":"s3://npm-registry-packages"},"directories":{}},"1.0.1":{"name":"8colors","version":"1.0.1","keywords":["ansi","colors","eight","8colors","console","log","cli","color","style","console.log"],"author":{"name":"John Martin R. Disuanco"},"license":"MIT","_id":"8colors@1.0.1","maintainers":[{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"}],"homepage":"https://github.com/jmdisuanco/8colors#readme","bugs":{"url":"https://github.com/jmdisuanco/8colors/issues"},"dist":{"shasum":"cdb109f2cabc8428b95c986cee4cbcb76a4e9b64","tarball":"https://registry.npmjs.org/8colors/-/8colors-1.0.1.tgz","integrity":"sha512-63lxBmEYKpzuJc3cwvN4/Id1CxLDXI8AeddyZO7fPbQm3yJ/Rd5X5eF5e9iMsxS9sq5VUcB1iCP0Kft/s3I4xg==","signatures":[{"sig":"MEUCIQCpjkGvPddpImILMtrv2HG8EivcgbnK7/x1CCVtXHYhfgIgWktH+cJSuqYbI8dunksZB23dD/Thw4dx7ImJpW7a1W4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"cdb109f2cabc8428b95c986cee4cbcb76a4e9b64","gitHead":"8d456e39a3f8f8c1b77c01dac4d0083643b4ac5d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"},"repository":{"url":"git+https://github.com/jmdisuanco/8colors.git","type":"git"},"_npmVersion":"4.6.1","description":"ANSI Colors for the terminal console","_nodeVersion":"8.9.1","_npmOperationalInternal":{"tmp":"tmp/8colors-1.0.1.tgz_1516441559128_0.2574883084744215","host":"s3://npm-registry-packages"},"directories":{}},"1.0.2":{"name":"8colors","version":"1.0.2","keywords":["8colors","terminal","console","chainable","ansi","colors","log","cli","color","style","console.log"],"author":{"name":"John Martin R. Disuanco"},"license":"MIT","_id":"8colors@1.0.2","maintainers":[{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"}],"homepage":"https://github.com/jmdisuanco/8colors#readme","bugs":{"url":"https://github.com/jmdisuanco/8colors/issues"},"dist":{"shasum":"d16c837f0f3ff77a9b7a83dfa3cc7559de034e76","tarball":"https://registry.npmjs.org/8colors/-/8colors-1.0.2.tgz","fileCount":5,"integrity":"sha512-cQWwvNmOLLDYM3pOSIcNDNCDRrB0qK6ocCRgjCfYdWSsF9xrxBAak1bh4D1kkpSwyOhQaTg6V6MLtnTCpd4gdA==","signatures":[{"sig":"MEUCIHAunVMF7aQqpZr8gV3zXbdbWYwJy2it9T4YnKVocKtZAiEA51IvhbcllXaBQ2oT3L3fpWZex5u4MnUxKwyR2KGXmkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14129},"main":"index.js","types":"index.d.ts","gitHead":"5f73a447d41fc696718e2f204b8acd166ea9b853","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"},"repository":{"url":"git+https://github.com/jmdisuanco/8colors.git","type":"git"},"_npmVersion":"10.9.2","description":"chainable ansi 8 terminal colors","directories":{},"_nodeVersion":"23.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/8colors_1.0.2_1749195157367_0.988619016049707","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"8colors","version":"1.0.3","description":"chainable ansi 8 terminal colors","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/jmdisuanco/8colors.git"},"keywords":["8colors","terminal","console","chainable","ansi","colors","log","cli","color","style","console.log"],"author":{"name":"John Martin R. Disuanco"},"license":"MIT","bugs":{"url":"https://github.com/jmdisuanco/8colors/issues"},"homepage":"https://github.com/jmdisuanco/8colors#readme","types":"index.d.ts","_id":"8colors@1.0.3","gitHead":"da0c6d49cc2432827b0dd00ea3a1f7930d2aad8a","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Q5YltcPOqKiIU6KyeWWi8UJoqdHf08wWxGTPhc3RVYiSQdm9WMNYRR3+rHUnDHhaXNEkKL3CyCfORqkueNmfQg==","shasum":"806c19f94e72f9ad1e7fb52adddf0f6a87ab1dc1","tarball":"https://registry.npmjs.org/8colors/-/8colors-1.0.3.tgz","fileCount":5,"unpackedSize":13156,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHKcN0/g8mvIJnTSbHZ9ezl5IzB9ljLX+UwnncUFViGZAiEA1kmlaiy7hb5qiMVd/1m2zfdnQpv0Zubu383vL+o5vHY="}]},"_npmUser":{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"},"directories":{},"maintainers":[{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/8colors_1.0.3_1767423750646_0.1009017455669019"},"_hasShrinkwrap":false}},"time":{"created":"2018-01-20T09:38:21.297Z","modified":"2026-01-03T07:02:30.975Z","1.0.0":"2018-01-20T09:38:21.297Z","1.0.1":"2018-01-20T09:45:59.253Z","1.0.2":"2025-06-06T07:32:37.532Z","1.0.3":"2026-01-03T07:02:30.791Z"},"bugs":{"url":"https://github.com/jmdisuanco/8colors/issues"},"author":{"name":"John Martin R. Disuanco"},"license":"MIT","homepage":"https://github.com/jmdisuanco/8colors#readme","keywords":["8colors","terminal","console","chainable","ansi","colors","log","cli","color","style","console.log"],"repository":{"type":"git","url":"git+https://github.com/jmdisuanco/8colors.git"},"description":"chainable ansi 8 terminal colors","maintainers":[{"name":"jmdisuanco","email":"jmdisuanco@gmail.com"}],"readme":"# 8 COLORS\n\nColor Terminal Console like magic  (Chain-able)\n\n\n\n## Installation\n\n```\nnpm install --save 8colors\n```\n\n\n\n## Usage\n\n#### Example\n\n```javascript\nconst c = require('8colors')\n\nvar title ='WARNING'\n\n//straight up \nconsole.log(c.green('color me green'))\n\nconsole.log(c.red(title))\n\n//chaining\nconsole.log (c.b('color me blue').m(' and I am Magenta').bm(' I am bright Magenta').end())\n\n//background color\nconsole.log(c.R().w(title).end())\n\nconsole.log(c.R().w(title).by(' You are using and awesome library!').end())\n```\n\n\n\n## COLORS and Helper functions\n\n\n\n### Non Chained -- Straight up output\n\n| method(string)  | TEXT COLOR |\n| --------------- | ---------- |\n| black(string)   | Black      |\n| red(string)     | Red        |\n| green(string)   | Green      |\n| yellow(string)  | Yellow     |\n| blue(string)    | Blue       |\n| magenta(string) | Magenta    |\n| cyan(string)    | Cyan       |\n| white(string)   | White      |\n\n\n\n### Chained approached \n\n#### Foreground Color (Standard)\n\n| Method (string) | Foreground Color |\n| --------------- | ---------------- |\n| k(string)       | Black            |\n| r(string)       | red              |\n| g(string)       | Green            |\n| b(string)       | Blue             |\n| y(string)       | Yellow           |\n| m(string)       | Magenta          |\n| c(string)       | Cyan             |\n| w(string)       | White            |\n\n\n\n#### Foreground Color (Bright)\n\n| Method(string) | Foreground Bright Color (Hi intensity) |\n| -------------- | -------------------------------------- |\n| bk(string)     | Bright Black                           |\n| br(string)     | Bright Red                             |\n| bg(string)     | Bright Green                           |\n| bb(string)     | Bright Blue                            |\n| by(string)     | Bright Yellow                          |\n| bm(string)     | Bright Magenta                         |\n| bc(string)     | Bright Cyan                            |\n| bw(string)     | Bright White                           |\n\n\n\n#### Background Color (STANDARD)\n\n| Method(string) | Background Bright Color (Standard) |\n| -------------- | ---------------------------------- |\n| K(string)      | Black                              |\n| R(string)      | Red                                |\n| G(string)      | Green                              |\n| B(string)      | Blue                               |\n| Y(string)      | Yellow                             |\n| M(string)      | Magenta                            |\n| C(string)      | Cyan                               |\n| W(string)      | White                              |\n\n\n\n#### Background Color (Bright)\n\n| Method(string) | Background Bright Color (Hi intensity) |\n| -------------- | -------------------------------------- |\n| BK(string)     | Bright Black                           |\n| BR(string)     | Bright Red                             |\n| BG(string)     | Bright Green                           |\n| BB(string)     | Bright Blue                            |\n| BY(string)     | Bright Yellow                          |\n| BM(string)     | Bright Magenta                         |\n| BC(string)     | Bright Cyan                            |\n| BW(string)     | Bright White                           |\n\n\n\n#### Helper Functions\n\n| method    | Function                                 |\n| --------- | ---------------------------------------- |\n| end()     | denotes end of the chain and output result |\n| V(string) | inverse foreground and background  color (not tested on all terminal) |\n| _(string) | Underline (not tested on all terminal)   |\n| I(string) | make the text color intense (not tested on all terminal) |\n| blk       | make the text slow blink (not tested on all terminal) |\n| rblink    | make the text rapid blink (not tested on all terminal) |\n\n## Reference\n\n[ANSI escape code]: https://en.wikipedia.org/wiki/ANSI_escape_code\t\"ANSI escape code\"\n\n\n\n## License\n\nMIT &copy; 2018 John Martin R. Disuanco","readmeFilename":"README.md"}