{"_id":"tiny-colors","_rev":"298434","name":"tiny-colors","description":"A tiny library providing the basic ANSI colors for the terminal.","dist-tags":{"latest":"2.1.2"},"maintainers":[{"name":"fabiospampinato","email":""}],"time":{"modified":"2024-01-15T13:43:20.000Z","created":"2022-04-03T21:14:12.788Z","2.1.2":"2023-08-25T11:11:34.467Z","2.1.1":"2023-08-25T11:01:55.970Z","2.1.0":"2023-08-12T11:32:10.934Z","2.0.2":"2023-02-11T03:03:06.625Z","2.0.1":"2022-04-05T00:35:17.746Z","2.0.0":"2022-04-04T23:41:06.794Z","1.0.0":"2022-04-03T21:14:12.788Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"versions":{"2.1.2":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.1.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"tsex prepare"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^3.0.0","typescript":"^5.1.6"},"gitHead":"36eea73789fc90f915789a38aa7f7cbd6b2f8136","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.1.2","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"9eda73b0e7043f5fec45d5938bf041d2c97722fe","size":3649,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.1.2.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.1.2.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.1.2_1692961894196_0.10090126514123932"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-25T11:11:34.467Z","publish_time":1692961894467,"_source_registry_name":"default","_cnpm_publish_time":1692961894467},"2.1.1":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.1.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"tsex prepare"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^3.0.0","typescript":"^5.1.6"},"gitHead":"e5f6cf3021ca4a9028b06295e0f4c5c4bbefda45","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.1.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"9b524a929c2db05d76ddaed6cd9a247b5416a6d9","size":3641,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.1.1.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.1.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.1.1_1692961315797_0.6238220666243177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-25T11:01:55.970Z","publish_time":1692961315970,"_source_registry_name":"default","_cnpm_publish_time":1692961315970},"2.1.0":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.1.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"tsex prepare"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^3.0.0","typescript":"^5.1.6"},"gitHead":"8f876c442dc8a1769f992a4149d843a368baad96","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.1.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"db4a58b21af3d35a620f6fd222860913112b1392","size":3613,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.1.0.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.1.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.1.0_1691839930764_0.7249129813579962"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-12T11:32:10.934Z","publish_time":1691839930934,"_source_registry_name":"default","_cnpm_publish_time":1691839930934},"2.0.2":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.0.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"tsex prepare"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^2.1.0","typescript":"^4.9.5"},"gitHead":"a72b87cc0a1f7e5e2b76f9db9ee1aee7f1294935","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.0.2","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"5370ba8ee6f4312e3b27f80f694ca9cbda51f0e1","size":3131,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.0.2.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.0.2_1676084586409_0.14045854171266736"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-11T03:03:06.625Z","publish_time":1676084586625,"_cnpm_publish_time":1676084586625},"2.0.1":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^1.0.4","typescript":"^4.6.3"},"gitHead":"b85589acb8538946c50c8dddfa29b5a467e97007","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"1cd5650c33499db933ce60da21732bd919aefcab","size":3107,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.0.1_1649118917374_0.5571703746950054"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-05T02:40:20.755Z","publish_time":1649118917746,"_cnpm_publish_time":1649118917746},"2.0.0":{"name":"tiny-colors","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"description":"A tiny library providing the basic ANSI colors for the terminal.","version":"2.0.0","type":"module","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"tsex":"^1.0.4","typescript":"^4.6.3"},"gitHead":"bc5ae355436f274abb539809c84253d1c86bc8da","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"8d7bfba72549bd260f0c85f264f248f544168e7b","size":2500,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-2.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_2.0.0_1649115666609_0.2597165506815615"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-05T02:40:20.656Z","publish_time":1649115666794,"_cnpm_publish_time":1649115666794},"1.0.0":{"name":"tiny-colors","description":"A tiny library providing the basic ANSI colors for the terminal.","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","test":"npm run test:color && npm run test:nocolor","prepublishOnly":"npm run clean && npm run compile && npm run test"},"bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"license":"MIT","author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/tiny-colors.git"},"keywords":["tiny","cli","terminal","colors"],"devDependencies":{"@types/node":"^17.0.23","rimraf":"^3.0.2","typescript":"^4.6.3","typescript-transform-export-interop":"^1.0.4"},"gitHead":"c7fe3133148cc66573266e330d970738e24438a6","homepage":"https://github.com/fabiospampinato/tiny-colors#readme","_id":"tiny-colors@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"2fa1bba52ba1cbf2b0d20e001ece4850d02ec05c","size":4212,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/tiny-colors/download/tiny-colors-1.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-colors_1.0.0_1649020452650_0.5263945859222441"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-03T21:14:17.008Z","publish_time":1649020452788,"_cnpm_publish_time":1649020452788}},"readme":"# Tiny Colors\n\nA tiny library providing the basic ANSI colors for the terminal.\n\n## Install\n\n```sh\nnpm install --save tiny-colors\n```\n\n## Colors\n\nThe following color functions are provided.\n\n| Foreground | Background  | Modifiers       |\n| ---------- | ----------- | --------------- |\n| `black`    | `bgBlack`   | `reset`         |\n| `red`      | `bgRed`     | `bold`          |\n| `green`    | `bgGreen`   | `dim`           |\n| `yellow`   | `bgYellow`  | `italic`        |\n| `blue`     | `bgBlue`    | `underline`     |\n| `magenta`  | `bgMagenta` | `overline`      |\n| `cyan`     | `bgCyan`    | `inverse`       |\n| `white`    | `bgWhite`   | `hidden`        |\n| `gray`     | `bgGray`    | `strikethrough` |\n\n## Usage\n\n```ts\nimport colors from 'tiny-colors';\n\n// Unchained usage\n\nconsole.log ( colors.bgMagenta ( colors.italic ( 'foo' ) ) );\n\n// Chained usage\n\nconsole.log ( colors.bgMagenta.italic ( 'foo' ) );\n```\n\n## License\n\nMIT © Fabio Spampinato\n","_attachments":{},"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"}}