{"name":"tiny-colors","version":"1.0.0","keywords":["tiny","cli","terminal","colors"],"author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"license":"MIT","_id":"tiny-colors@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/tiny-colors#readme","bugs":{"url":"https://github.com/fabiospampinato/tiny-colors/issues"},"dist":{"shasum":"2fa1bba52ba1cbf2b0d20e001ece4850d02ec05c","tarball":"http://registry-npm.ywwl.com/tiny-colors/download/tiny-colors-1.0.0.tgz","fileCount":12,"integrity":"sha512-8qNNIn8+ZekX3oRR4ULDvuQ2BuJpw3W1zcqAOxu5rehDc4zxsgP8cAaTDP3VMXGS18uYj6ZZLGK/dfh4oOp7JQ==","signatures":[{"sig":"MEYCIQDYHVqt2rTXyrP2SUUrMLXfyQFwHpOhKpg5NZVOQF6d9gIhAPGKPIAMYDWbDLdRaHwk4E4UiEagqJffsWlAdOmX4l0x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSg4kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuuQ//YAcTHuxdWD5P1q0HTYHkBCBKVWurLm/KLEQu2seRvcxc58Qz\r\n5SKfiEt13PJTHann/D+9BSRelc+esx0lWTfIXlWkh3UwmwnFHPGq4lFUZS2P\r\nYCnd47OdXzqgsRAL4jwRd6bqW3nAd2WG21jA8Gdd9NEQDZ1Y/KGqKKzKlrGz\r\nM83WGO1Us+v5qM4t+qD0+nvSUN3lmLNLG8BvNrgNhhAiZoE69ly+z8sDbsbw\r\n4nynnSm0KybGwzCVuer6gwv7GpwzgZBiEHcEfzX7tpqMjEeoLgovEQyBpKf3\r\newq+KA6lZkYQQN6XI3scO61p5OYNIHfHblMT03diZEXZAnziFAC1P76SM+6q\r\ngBxNY+rtrYRPorC52LneuncPJVmpzsxivEv2gOzlyzflP5eQSWpACOmqwyS8\r\nM3Td2Zfbrs3GO7ELeOgbsA3mc65i+0BA1WYJ2h26qEfu3O4gWBaruDteqvFf\r\nDqsNqyRRfECfOq8MeeRQ3eUg8DFe7z7ZfTXiSGEnbvm4yEWSl3dKyHs1NhI8\r\nnSZFTq7MWCtnJmTDf7EKK4c7PbMVvFEJT751J90PtOc/FS625+9X86790IWw\r\nNaFXsfAU6Vtd+7beW/BnGTYjacA0f0wF7W2SyeUOL766BLe4bGfyGerHTRaa\r\nxj7WWWyXK3ESEJnyHXqJNyIm1idCVaiUX54=\r\n=ORnL\r\n-----END PGP SIGNATURE-----\r\n","size":4212,"noattachment":false,"key":"/tiny-colors/-/tiny-colors-1.0.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c7fe3133148cc66573266e330d970738e24438a6","scripts":{"test":"npm run test:color && npm run test:nocolor","clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","test:color":"node test/index.js","test:nocolor":"NO_COLOR=1 node test/index.js","compile:watch":"tsc --skipLibCheck --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/tiny-colors.git","type":"git"},"_npmVersion":"8.1.0","description":"A tiny library providing the basic ANSI colors for the terminal.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^3.0.2","typescript":"^4.6.3","@types/node":"^17.0.23","typescript-transform-export-interop":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/tiny-colors_1.0.0_1649020452650_0.5263945859222441","host":"s3://npm-registry-packages"},"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, {ENABLED} 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// Check if colors will actually be displayed\n\nconsole.log ( ENABLED ); // => true/false\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1649020452788,"_cnpm_publish_time":1649020452788,"dist-tags":{"latest":"2.2.2"}}