{"_id":"pigment","_rev":"29-9b6cb80d5a94d1c815039bb3a9fa7e5a","name":"pigment","dist-tags":{"latest":"0.4.5"},"versions":{"0.0.1":{"name":"pigment","version":"0.0.1","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"GPL-3.0","_id":"pigment@0.0.1","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"6af9de8d67ead562531c444d90be9c9ee02e5f5a","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.1.tgz","integrity":"sha512-Ei4WZT53q+P0wqSkattnsPIgpQV8ZWCyPXmfazBH07cZUu0DyFkPIc3fczE/Yv1Yu04/uKf+NJu4QSJtMgty8g==","signatures":[{"sig":"MEYCIQCf0Id7FQFBUAwDEl7ckpHz4YEXIm05Ck3alVGr7+2ydAIhALynumwSv9XqToNOXIZAdAaOroj2LinugxpLxdGe99KN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","_shasum":"6af9de8d67ead562531c444d90be9c9ee02e5f5a","gitHead":"cb20c24e186d5d58bb05b8981a0248cb0f77e666","scripts":{"test":"mocha test/color.js"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git@github.com:satya164/pigment.git","type":"git"},"_npmVersion":"2.7.4","description":"Color information and manipulation library","directories":{"test":"test"},"_nodeVersion":"0.12.0","devDependencies":{"mocha":"latest"}},"0.0.2":{"name":"pigment","version":"0.0.2","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"GPL-3.0","_id":"pigment@0.0.2","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"472c732e110a0e71887f2d3d8254afddf37950a8","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.2.tgz","integrity":"sha512-dC1z82Fgv4drTCM4GbFs8e2jppqwavq2OEF3AkOgc/tJ7Avx1Qu6iiWgs3WJlsVDUSUiNvXLdd9MQFbmx6n12A==","signatures":[{"sig":"MEUCIFV0Xrwf59uOHVY1UtdH+0GuBWNePk6n/Sao9GnwymOrAiEAvPYxFeDlcVPJwJ0qyNhVujdwzS4v3qEqWJn9HgwKa2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","_shasum":"472c732e110a0e71887f2d3d8254afddf37950a8","gitHead":"2050884397f2eab5005998a06bcbd11c04999ffc","scripts":{"test":"mocha test/color.js"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git@github.com:satya164/pigment.git","type":"git"},"_npmVersion":"2.7.4","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"0.12.0","devDependencies":{"mocha":"latest"}},"0.0.3":{"name":"pigment","version":"0.0.3","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.0.3","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"508681aef8d8be667887e148743a03e31c9c0072","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.3.tgz","integrity":"sha512-FlhImQIFVgoD8zHwbCLrCe4tkeQQMDok1eTnSU8VRNxU1D9La7m1yfxr5icXeJDTq88/Sbt09VRyNIQaWTMb0w==","signatures":[{"sig":"MEYCIQDcJzRRnCBiRAEt+nA9ImBKBHnCFDrHJ3vtS79ION8WEAIhAILS5gIXZd1h//DE3xBuO++DMaok2cYpFWgtA+nWtZNn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","_shasum":"508681aef8d8be667887e148743a03e31c9c0072","gitHead":"0967c9c08ac1a355d7be57bc2727bdc64bc9673c","scripts":{"test":"mocha test/test.js"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git@github.com:satya164/pigment.git","type":"git"},"_npmVersion":"2.7.6","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"0.12.0","devDependencies":{"mocha":"latest"}},"0.0.4":{"name":"pigment","version":"0.0.4","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.0.4","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"9a13150c5504c3adeed8f5aa534e5842a2290f08","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.4.tgz","integrity":"sha512-5NWZFvjRu9XF0ykC3A2NwWKWVY4MyP3tMt60f/Mxl0Jt0sVbiZWkoLUpCuPd+RNgctOtOP4UvyhHaCwZRgbkQQ==","signatures":[{"sig":"MEUCID0Q5OPYnRBOwDyiosu7Ip3zE6H/7TN4t+Enhc0socaLAiEA6/4Vkreh4JwsryROkaAmVYr1i93B3hDh87rRMU/6TvY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","_shasum":"9a13150c5504c3adeed8f5aa534e5842a2290f08","gitHead":"c40032b4eab2f6f961e32ed9384cf3fbf5d5da8f","scripts":{"test":"mocha test/test.js"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git@github.com:satya164/pigment.git","type":"git"},"_npmVersion":"2.7.6","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"0.12.0","devDependencies":{"mocha":"latest"}},"0.0.5":{"name":"pigment","version":"0.0.5","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.0.5","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"1a42cfec44d8abc93838db3ae2565371fe3015fd","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.5.tgz","integrity":"sha512-1eA0fLqKR//96KKec+MEoEoFzOrvibn26QR3Kf0jzLX4C6nqpms4EGCV/Nfp0nt/+WCwEMJKvRDXWN7msyKr2Q==","signatures":[{"sig":"MEYCIQDs84XXPLC6OnholAHHpCKQgKRb05Cf5S/aaR39htxXQQIhAOY/Su1MeNyRF9cdsjXp9qubcGltjRKiwSbqUXGKQ3Yg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","_shasum":"1a42cfec44d8abc93838db3ae2565371fe3015fd","gitHead":"c92253d97dfa84bfd4236d996fee4fb86feee6d8","scripts":{"test":"mocha test/test.js"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+ssh://git@github.com/satya164/pigment.git","type":"git"},"_npmVersion":"2.9.0","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"0.12.2","devDependencies":{"mocha":"latest"}},"0.0.6":{"name":"pigment","version":"0.0.6","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.0.6","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"ava":{"files":["**/*.test.js"]},"bin":{"pigment":"bin/pigment.js"},"dist":{"shasum":"f70776c47a686566cb6c191e3dd1c0282c2a66d9","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.0.6.tgz","integrity":"sha512-TQt5nMg/wwf4Huz1BrEk3gx8hybtxosTtRgO6oZVcLHu17KVgObE1pjiSMejcv6gzJtl5XLHJjIgwnUOiSlh0w==","signatures":[{"sig":"MEQCIDm5lxkHy1Refzmhr1rVCxIuThX8g1aO5wSC4wVUY3EtAiAXFvRSwbiK11rj6EaJKEbJBfAFU2IIKeEg88KmUOLAKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_shasum":"f70776c47a686566cb6c191e3dd1c0282c2a66d9","gitHead":"b6f1a0d2da703e60b2773696c617e74aa0701b79","scripts":{"lint":"eslint .","test":"ava","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"2.15.6","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"4.4.5","devDependencies":{"ava":"^0.15.2","eslint":"^2.11.1","semantic-release":"^4.3.5","eslint-plugin-ava":"^2.4.0","cz-conventional-changelog":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/pigment-0.0.6.tgz_1465156668611_0.21368853677995503","host":"packages-16-east.internal.npmjs.com"}},"0.1.0":{"name":"pigment","version":"0.1.0","keywords":["color","colour","css"],"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.1.0","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment","bugs":{"url":"https://github.com/satya164/pigment/issues"},"ava":{"files":["**/*.test.js"]},"bin":{"pigment":"bin/pigment.js"},"dist":{"shasum":"8295f60ddee5617935d4de153c7aabab7fde9ac2","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.1.0.tgz","integrity":"sha512-JK4CVKTJEF1Dz873EExtZUwOPevOQamwLS90DrJMquBn4rKczXt8/Zl1p3QYfGFE0BSoMg00qPEsCD3w92GC/g==","signatures":[{"sig":"MEQCIFOT9nx1VUrr1vo4lj0SkI5qQ6suhWuiUxOAuoZ/I+laAiAyvzW072gF5gAi7tqCgOK/30Vt1Wmjc6u33/iWAHXpEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"color.js","_from":".","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_shasum":"8295f60ddee5617935d4de153c7aabab7fde9ac2","gitHead":"73acbf53c0226cf0a0e7bc597c8e2f3b9331f336","scripts":{"lint":"eslint .","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"2.15.9","description":"Color information, conversion and manipulation library","directories":{"test":"test"},"_nodeVersion":"4.4.7","devDependencies":{"ava":"^0.15.2","nyc":"^6.4.4","eslint":"^2.11.1","coveralls":"^2.11.9","semantic-release":"^4.3.5","eslint-plugin-ava":"^2.5.0","cz-conventional-changelog":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/pigment-0.1.0.tgz_1467555977733_0.7079983740113676","host":"packages-12-west.internal.npmjs.com"}},"0.2.0":{"name":"pigment","version":"0.2.0","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.2.0","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"bce927ce4b794ce2ffc13f9bb1853e8caf78da10","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.2.0.tgz","fileCount":32,"integrity":"sha512-WV3q8+kcixVeOrHDeW+t0HtKv5AxL1tx5G8aUX4hUFWt/SjRJ0QWuAin1PnE2J8iPLoABeFBokmKpR4v779Yyw==","signatures":[{"sig":"MEYCIQD2JijtFHUwsOBZYIktBLDvraWFKuiJD5AaUwGhuicFrwIhAOHDw77x1fDhU+YsUgN9JOR3DtF2eVq7RrGPOPDfprUB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62161},"type":"module","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"gitHead":"434d3b28f825d55d88311a55f52af48b17c67268","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --experimental-strip-types src/index.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"10.9.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"22.15.0","dependencies":{"wrap-ansi":"^9.0.0","ansi-escapes":"^7.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.26.0","lefthook":"^1.11.12","prettier":"^3.5.3","commitlint":"^19.8.1","release-it":"^19.0.2","typescript":"^5.8.3","@types/node":"^22.15.3","expect-type":"^1.2.1","eslint-config-satya164":"^5.0.3","@commitlint/config-conventional":"^19.8.1","@release-it/conventional-changelog":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.2.0_1746831126553_0.035769231783090216","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"pigment","version":"0.3.0","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.0","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"50b3fc471022bcd0ce347dbe1203cf0097f473b4","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.0.tgz","fileCount":68,"integrity":"sha512-oMPKo4Xnho1TnQhsQDJzjnc5OxnOaA/Bt31YDQIQGJ34F373ctX4wGxUsWdQY01uzhFi8OESAgmx4QoG5ZfPcw==","signatures":[{"sig":"MEYCIQCwKanQLVDW62bccmiBKWm78IM9qkcRXOS5G3dG+oK3hgIhAO4Eh3yGqce55hgTxnNZ1IIVA0hXgj94X/El6/THVzHI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184947},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"f7c0c3b4a07dfea08cbe87cc0e4d04ae0baf4ed1","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --experimental-strip-types  src/__tests__/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.0_1763945929582_0.5395805705734327","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"pigment","version":"0.3.1","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.1","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"1e6f4037f84760c7b2c6a76cd131740c7b77e94c","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.1.tgz","fileCount":68,"integrity":"sha512-icAnS98PWU4skJHR5FP/c2zBZ+Iq2c/xbswIOwkOfYxd9fxhqvwyBMzU9+L+ja5giz0MRyS3YzIlDqgVwsF2Qw==","signatures":[{"sig":"MEUCIHRatuStQAO/Ayw6q+VRlk8ltKpaO42uvxyz9XBQ/xh0AiEAjbSh4rNOSEXP4HJmSFQ5ncS1dVBxTZIq512YrlVHsA4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":186210},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"ab496f1843aaf4b1c5b9210637c5488032aceff5","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --experimental-strip-types  src/__tests__/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.1_1763959066559_0.24677628254768202","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"pigment","version":"0.3.2","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.2","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"4d6884c9eb51f38d85e064a41774b468b6b12458","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.2.tgz","fileCount":46,"integrity":"sha512-ZToNCQ1/FFysBLuVclj2CA0Jo+7ZqcRXxqs7/Sf5tP/nLveYLs9k+quHuVrXcp0Jl3CAQ5MAAKASAka7XynC1g==","signatures":[{"sig":"MEYCIQCHDMvZuqZtAnWYS90r8l1o7nSEu3Og8fK6o5O7NCDzeAIhANRNcdwetwxUjPY/ENPWTYI9zG+skSUtN1rIRTtGP4Oe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153545},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"a9c44c8c9e359fb1d237797c2704097f038967af","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --experimental-strip-types  src/__tests__/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.2_1763985699115_0.20181939215686318","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"pigment","version":"0.3.3","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.3","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"b69f441319184cde9510eede8338c66ae8eeee5d","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.3.tgz","fileCount":49,"integrity":"sha512-r3l4IYWU9kRD+NaDM13GORlRnwoLiLU9hpeexWeMZpmBfRRNY9OMB/grLrzYjSE2Ez2ssdP/OFtIKmat+scB/w==","signatures":[{"sig":"MEYCIQCNZSW/hVI51F7Q3q7ENS4EOd8N9Axi6kQPsTfaFiLL3QIhANdiI/6hsofmOwj8CGxW1EPzQZMf8nzNVD/u3//RdBRt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":172567},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"dcd7e8b54304d481021a6141317b36a2ff5c153b","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.3_1765301511050_0.21892458519686464","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"pigment","version":"0.3.4","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.4","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"de85c87b13a6f6bde1482988d1d0c7718c988934","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.4.tgz","fileCount":49,"integrity":"sha512-3J4XdNprNoBquWJypmW5Hr+g8slQxYC5dVfTI4vaQ7YXAdux+cf6hMxZ37dlwetsiMoVyTF8QUPHNzRgcVZFpg==","signatures":[{"sig":"MEQCIGZGV+X59XHietg1b78rqstO+TPVzHhbaH7MQP2O4BKFAiBuCyJR734q+TxSRDk74TlYjEZSTuCS6mEI/8dwNezTQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173850},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"7ff9d2fa348bfafdc87bf04f6afdf7e9a41a5b6d","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.4_1765321554933_0.1503456038730655","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"pigment","version":"0.3.5","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.5","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"aca9e9ca7119abca15f6c0909ca47b5f8dacc3ee","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.5.tgz","fileCount":49,"integrity":"sha512-lnwc5XBgqoRH1ZihV1GwkIpMF77zlxr/Oo/xUzoNa969GtyfkM+9UG051qnHAA5BzF7f2JxaeqxQM4AEyZJGMw==","signatures":[{"sig":"MEQCIGCULsyiXa1NG2gYft2/WUvpklR6e4oqpRDi/JlpmAoqAiBqTpFENppN/htvkL1knhbfly3m2HYzz2OId5PiTtPFQA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173850},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"d156ffca6a5390a731773c4baf8366bb577544cf","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepack":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"10.9.3","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"22.20.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.5_1765321815801_0.3164614265024839","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"pigment","version":"0.3.6","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.6","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"446e1b10c5d5782cf03c69ee73c913b89a3df3b2","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.6.tgz","fileCount":49,"integrity":"sha512-nkbjbSqaWYTRf4nu54D70GXNGpRlfYu0L5huC+uCm8nfnQqEzhu4T1iFPATXz9Y8VQF9V2pVAmsyftSM7E4PWA==","signatures":[{"sig":"MEQCIACCOYXjl3ce3CwqpvmO9DiKklrKYgz4kxQLAWM1xV9YAiBqoeI0itPY7pJFnm/WX1xmZVBp53s1yDzNfDwG/XLlSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175158},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"3a2965b431a8a58ba9d90eb6933e7fedf8891dbd","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepack":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.6_1765323215584_0.11676111226393449","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"pigment","version":"0.3.7","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.7","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"11907102c9811be2a4e920d6cdeff940a9605f7c","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.7.tgz","fileCount":49,"integrity":"sha512-ajKiiph688x3uGne/7wvIVfok3SXnn7tgqiG2FPGyehGTqusTIHIaPRPNUh8XC/rPIOcVGOpCP0SNPf4a6SzZw==","signatures":[{"sig":"MEQCIC/tZJeeEz7WtcIP3T6fbToUVFxbSJ8QbuhuTxE48axIAiBrq00AY0rUiqFq5+Yl2uZCKH0LAGA1qL39+j7qu9wbNA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175238},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"a088cdfde3a32a452cbce2c1fbb888f3af88188d","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepack":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.7_1765323574122_0.40784779438858276","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"pigment","version":"0.3.8","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.8","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"ec74659e5db8a2dd8f9003d567eeefc806d187eb","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.8.tgz","fileCount":49,"integrity":"sha512-elohSaL2KIgCqRBg8kBneLcDyKwO241kMD8c4l/wsH8q+48z5qoAR+BP2Vy7s7z33rBxgd4ooJSjkgPi/Xec8Q==","signatures":[{"sig":"MEUCIHbxuTGjYyUNQd37zbNk7mHGmbk253619UGiV2s9PfW4AiEAhcBKCIe6VnywTlX/a36e3RfNZPI8YQobu94Tz2az4S0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175545},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"63977df25394270a123e76c83d56df982e5323ab","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepack":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"10.9.3","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"22.20.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.8_1765326873307_0.2279236146961836","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"pigment","version":"0.3.9","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.9","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"51bfe9b590bbc3619f8d6d28f25d1d8317f902ab","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.9.tgz","fileCount":45,"integrity":"sha512-j3r6jHMnz9jtc2nzhWceTW9wvUz9LalDOhLoAQ8sO/l5e8sPLxw/3YIbsNwkF3aZTrGDAfb78iFa14mfmmVb4g==","signatures":[{"sig":"MEUCIE7bID5lrdWYSvEih1Lgxq7CvBJSp/3Pz4vBXGcwbo6sAiEAl9M6cOzTwpLPEIpc8A+QHOJ5ZMs86Ja7b2HzXyR+Upo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167428},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"4838b85b5677f17c1fb14c99d992480f271cac47","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.9_1765327039531_0.25931203587480467","host":"s3://npm-registry-packages-npm-production"}},"0.3.10":{"name":"pigment","version":"0.3.10","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.10","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"a0600eb0b4a58fc0ac48af66c39157f343638a9d","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.10.tgz","fileCount":45,"integrity":"sha512-ZAqHNZbHJt2QPfoxRLPl7aElJwFTqhafZED7on2bEgBubLng41vyZpFe9zG6CnEFIjXLzqW0hR385TfBZo22yw==","signatures":[{"sig":"MEQCIDPpdWJ1UpxNJikkQy0QjX+dwI6NJTDBYVHSj3i3v+y1AiBmKxnzYmryDQtNQiVIQgQkVoCLYa3w+Jk0POmR1Xb0Xw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167437},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"846d75336eb46c2ef628c36e1d4ed30bd1165e63","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.11.1","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.10_1765327579408_0.004481371899178743","host":"s3://npm-registry-packages-npm-production"}},"0.3.11":{"name":"pigment","version":"0.3.11","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.3.11","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"3d1830829af7d302218a3b962b72a7f72de5db9f","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.3.11.tgz","fileCount":45,"integrity":"sha512-acdYHwCXqLhrpZ/8/evncaEWorvyKjB5evwF+TWmrwKKbrLen1G7WpKcj2ENW+EQDBtBqX6Gk0630oTxNP/Z8Q==","signatures":[{"sig":"MEQCIHVDgF4Mw3pnq0V3Vg7FazVuZWRJCTrA1qlG9ogtDgZdAiB5dEHNjD+F1BlfqCVNFxr9oUb4MsbLHqrzZupDosp5TA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167440},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"52cf3c2e3567804257a22691b4d60c9f8278779a","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"10.9.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"22.14.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.3.11_1765380367904_0.7574552857726351","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"pigment","version":"0.4.0","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.4.0","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"cb00bcd591a1e1ac67aa466bfdacd716a0bedd98","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.0.tgz","fileCount":45,"integrity":"sha512-2Nri3omwKDBNkr4a4VmhUInsctYMZ+71iT5qYfTZ7vbhgqPzxitTdMIiIrbMQHqvlIMCdrmLGMx63ovzfcNP5Q==","signatures":[{"sig":"MEYCIQD4r8AzHuBwGSiF8fkf1yVoRFXUU65BZKWu9fpjZavGtQIhAOF7tvgzbNLYdp1VLHps990cJVaouOljTKk9Vh51MbO0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167939},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"74ed352b826a0d83f9d469dadba8129ef689c825","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.13.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.4.0_1773814635913_0.09421008586831703","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"pigment","version":"0.4.1","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.4.1","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"1ad0c864287d7345ddd7efea9fa940860a541964","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.1.tgz","fileCount":71,"integrity":"sha512-WJfbbE9O574K0T7hPBair0Pdn/2COeEj7B7HZ6G0zs4h/P08xOEM5ECRpfZbqG9zFICHM3cYY/4NlLBs7ZhZPA==","signatures":[{"sig":"MEQCIDC3xcMoCEnPRfJRaaen3zJ4PPqjvJh5CdOhmJjOaQk0AiBIC+jv6bi9hEM4GMM1Ne+TQA8DFfb6r0OoSF5Ngf0i8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214602},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"0af5e5808aca5ebbb7e0409a77be1585e7ca8560","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.13.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.4.1_1774994286426_0.6141134634561207","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"pigment","version":"0.4.2","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.4.2","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"de876a2f70aede480d83216545cb45e238b9b0ac","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.2.tgz","fileCount":45,"integrity":"sha512-M/qU6X7jgBVDvAzbUwbSA+Vn52XWhVG7p4T9OwacgcnLXhQZ+i/lvIJmGWrHm33ndSE2A/ned2BtyE2DhB61Pw==","signatures":[{"sig":"MEQCIG07bdktKDa0hq/W+r87jDmIomQSCrQkoJsWVPLtt094AiBd/fiqoifkM1QVDE31XG3/FDJ6kUgJbB4LQQkKd19kvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175935},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"332905aee8cadd20f8255a195baeebb4d172e0f3","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.13.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.4.2_1775522902444_0.12333294743723777","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"pigment","version":"0.4.3","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.4.3","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"6c13921d5e81635f023c2e7dddb8a2efa8e68f50","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.3.tgz","fileCount":45,"integrity":"sha512-sSCiJQQ7lVdDyXQ5bfZ5bMegRhYV4TNCWkp1xuVy/+AptSolDlLWMXkW5uGpKQUlycnxv7A0agvkAsQG3nt7bg==","signatures":[{"sig":"MEQCIGZWEmOHPAeSj9JVB4LrAO+uBwqKoAQwgHGbKIOlwoy1AiB5NI6GTci9wZZ7XExSk2TKa5RHbFbbmrAHqneI9OmT5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175282},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"c73f8683c09382d9894c596273161e2f52b76707","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.13.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.4.3_1775526813559_0.02260838465485393","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"pigment","version":"0.4.4","author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","_id":"pigment@0.4.4","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"homepage":"https://github.com/satya164/pigment#readme","bugs":{"url":"https://github.com/satya164/pigment/issues"},"dist":{"shasum":"3922b4c0ae9bd80691a75d733a7a109f8c0981a1","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.4.tgz","fileCount":45,"integrity":"sha512-2aQya3MMdgAPzPH6Hudrl+cYZfCLE+Wn2cZ4Gcbrza8cY7NkqK7p/BBzERCSJNdYiKX3yzd5iAOgz+gd0C7Rww==","signatures":[{"sig":"MEQCIBoYr0f2/shED8M5dqd1EJlPTuWlMTqc+1ky4cZfXd0uAiABDb9V8oFwXEFGxUT0TNOWixVhEGeXUoWz8pu7IKj43w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175399},"main":"./lib/src/index.js","type":"module","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"gitHead":"e21d6f77b85f8fff814597c62596d633a3017db5","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","prepare":"tsc","release":"release-it --only-version","typecheck":"tsc --noEmit"},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"repository":{"url":"git+https://github.com/satya164/pigment.git","type":"git"},"_npmVersion":"11.6.2","description":"A library for creating interactive command-line UI","directories":{},"_nodeVersion":"24.13.0","dependencies":{"wrap-ansi":"^9.0.2","ansi-escapes":"^7.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"eslint":"^9.39.1","lefthook":"^2.0.4","prettier":"^3.6.2","commitlint":"^20.1.0","release-it":"^19.0.6","typescript":"^5.9.3","@types/node":"^24.10.1","expect-type":"^1.2.2","eslint-config-satya164":"^5.1.5","@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@voxpelli/node-test-pretty-reporter":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/pigment_0.4.4_1776117303902_0.031736834562658744","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"pigment","description":"A library for creating interactive command-line UI","version":"0.4.5","repository":{"type":"git","url":"git+https://github.com/satya164/pigment.git"},"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"license":"MIT","type":"module","main":"./lib/src/index.js","types":"./lib/src/index.d.ts","exports":{".":{"types":"./lib/src/index.d.ts","default":"./lib/src/index.js"},"./package.json":"./package.json"},"scripts":{"prepare":"tsc","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","test":"node --test --test-reporter=@voxpelli/node-test-pretty-reporter src/**/*.test.ts","release":"release-it --only-version"},"dependencies":{"ansi-escapes":"^7.2.0","wrap-ansi":"^9.0.2"},"devDependencies":{"@commitlint/config-conventional":"^20.0.0","@release-it/conventional-changelog":"^10.0.1","@types/node":"^24.10.1","@voxpelli/node-test-pretty-reporter":"^1.1.2","commitlint":"^20.1.0","eslint":"^9.39.1","eslint-config-satya164":"^5.1.5","expect-type":"^1.2.2","lefthook":"^2.0.4","prettier":"^3.6.2","release-it":"^19.0.6","typescript":"^5.9.3"},"packageManager":"yarn@4.9.1","gitHead":"4b60b8af35e42a4aacab370d586af1371cea2462","_id":"pigment@0.4.5","bugs":{"url":"https://github.com/satya164/pigment/issues"},"homepage":"https://github.com/satya164/pigment#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Zax90m9ih1d4Ap5c1BIZ/GrkEOPUYT9yhSh0It3w/V+IkOU0FxCG24LSrxOCierO6Vq28/GMgBIXc7b1gEAxqQ==","shasum":"7035938885a56f6926244e4512e97c1a4b90a09d","tarball":"https://registry.npmjs.org/pigment/-/pigment-0.4.5.tgz","fileCount":45,"unpackedSize":177516,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDEJ52hm8DGFStEjXMRmvDxgGeU+5waViyVimBDvsIf+gIhALqmHZrwoekszUUcjL8xicpPvA+m9CRLJJfDLpkF6vQ6"}]},"_npmUser":{"name":"satya164","email":"satyajit.happy@gmail.com"},"directories":{},"maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pigment_0.4.5_1781109697810_0.2543612284646859"},"_hasShrinkwrap":false}},"time":{"created":"2015-04-09T23:13:29.026Z","modified":"2026-06-10T16:41:38.046Z","0.0.1":"2015-04-09T23:13:29.026Z","0.0.2":"2015-04-12T16:51:07.640Z","0.0.3":"2015-04-16T20:04:16.237Z","0.0.4":"2015-04-23T03:20:18.014Z","0.0.5":"2015-05-16T22:30:24.621Z","0.0.6":"2016-06-05T19:57:50.218Z","0.1.0":"2016-07-03T14:26:20.243Z","0.2.0":"2025-05-09T22:52:06.758Z","0.3.0":"2025-11-24T00:58:49.789Z","0.3.1":"2025-11-24T04:37:46.818Z","0.3.2":"2025-11-24T12:01:39.312Z","0.3.3":"2025-12-09T17:31:51.197Z","0.3.4":"2025-12-09T23:05:55.128Z","0.3.5":"2025-12-09T23:10:15.961Z","0.3.6":"2025-12-09T23:33:35.744Z","0.3.7":"2025-12-09T23:39:34.273Z","0.3.8":"2025-12-10T00:34:33.478Z","0.3.9":"2025-12-10T00:37:19.676Z","0.3.10":"2025-12-10T00:46:19.569Z","0.3.11":"2025-12-10T15:26:08.045Z","0.4.0":"2026-03-18T06:17:16.101Z","0.4.1":"2026-03-31T21:58:06.641Z","0.4.2":"2026-04-07T00:48:22.601Z","0.4.3":"2026-04-07T01:53:33.728Z","0.4.4":"2026-04-13T21:55:04.037Z","0.4.5":"2026-06-10T16:41:37.943Z"},"bugs":{"url":"https://github.com/satya164/pigment/issues"},"author":{"name":"Satyajit Sahoo","email":"satyajit.happy@gmail.com"},"license":"MIT","homepage":"https://github.com/satya164/pigment#readme","repository":{"type":"git","url":"git+https://github.com/satya164/pigment.git"},"description":"A library for creating interactive command-line UI","maintainers":[{"name":"satya164","email":"satyajit.happy@gmail.com"}],"readme":"# pigment\n\nA library for creating interactive command-line applications.\n\n> [!WARNING]\n> This library is a work-in-progress and is not yet ready for production use.\n\n![Demo](./demo.svg)\n\n## Features\n\n- Works in both interactive and non-interactive modes with a single configuration\n- Fully typed with TypeScript, with automatic type inference for prompt results\n- Support for text, select, multiselect, confirm, and async tasks\n- Built-in support for flags such as `--help`, `--version`, `--interactive` and `--yes`\n\n## Why?\n\nThis library aims to simplify writing command line tools that can be used interactively by prompting users for input, as well as non-interactively by providing answers via CLI arguments.\n\nCombining different tools for prompting and argument parsing leads to duplicated logic, and subtle differences which makes it hard to maintain. So the idea is to have a single API to support both use cases. The library reads CLI arguments and skips prompts for any valid answers provided via arguments, and prompts for the rest if in interactive mode.\n\nInteractive mode can also be explicitly enabled or disabled by passing the `--interactive` or `--no-interactive` flags respectively.\n\nThe `--yes` (or `-y`) flag can be used to auto-accept default values.\n\n## Installation\n\n```sh\nnpm install pigment\n```\n\n## Quick Start\n\n```ts\nimport { create } from 'pigment';\n\nconst prompt = create(['<name>'], {\n  age: {\n    type: 'text',\n    description: 'Your age',\n    message: 'How old are you?',\n    required: true,\n  },\n  drink: {\n    type: 'select',\n    description: 'Favorite drink',\n    message: 'What is your favorite drink?',\n    choices: [\n      { title: 'Coffee', value: 'coffee' },\n      { title: 'Tea', value: 'tea' },\n    ],\n  },\n});\n\nconst answers = await prompt.show({\n  name: 'my-cli',\n  version: '1.0.0',\n  description: 'A CLI tool',\n});\n\nconsole.log(answers); // { name: string; age: string; drink: 'coffee' | 'tea' | undefined } | undefined\n```\n\n## Positional Arguments\n\nThe first parameter to `create()` allows you to define positional arguments:\n\n```ts\nconst prompt = create(['<source>', '<destination>'], {\n  /* ... */\n});\n```\n\nThe positional arguments support 2 types:\n\n- Required: `<argument>`\n- Optional: `[argument]`\n\nCLI usage:\n\n```sh\nmy-cli source.txt dest.txt\n```\n\n## Questions\n\nThe second parameter to `create()` is an object defining the questions:\n\n```ts\nconst prompt = create(['<name>'], {\n  username: {\n    type: 'text',\n    description: 'Your username',\n    message: 'What is your username?',\n    required: true,\n  },\n  drink: {\n    type: 'select',\n    description: 'Favorite drink',\n    message: 'What is your favorite drink?',\n    choices: [\n      { title: 'Coffee', value: 'coffee' },\n      { title: 'Tea', value: 'tea' },\n    ],\n    default: 'tea',\n  },\n});\n```\n\nWhen in interactive mode, users will be prompted for each question. In non-interactive mode, users can provide answers via CLI flags:\n\n```sh\nmy-cli John --username john --drink coffee\n```\n\nIt's also possible to mix interactive and non-interactive modes by providing some answers via CLI flags and prompting for the rest.\n\nThe key of each question in the configuration object is used as the name. The answer will be available in the results object under a property with the same name. It's also used for the CLI flags, prefixed with `--` (e.g., `--username` for the `username` question).\n\nEach question object can have the following properties:\n\n- `type`: The type of the question (e.g., `text`, `select`, `multiselect`, `confirm`).\n- `alias`: A short flag alias for the question (e.g., `-u` for `--username`).\n- `description`: A brief description of the question. This is used in the help text for the CLI arguments.\n- `message`: The prompt message displayed to the user in interactive mode.\n- `required`: Whether the question is mandatory. If `true`, the prompt will not accept empty input in interactive mode, and in non-interactive mode, the user must provide a value via CLI arguments. Defaults to `false`.\n- `default`: A default value for the question. It can be a static value or a function that returns a value or a promise containing a value:\n\n  ```ts\n  default: () => {\n    const answers = prompt.read();\n\n    return answers.username?.toLowerCase();\n  };\n  ```\n\n  It is used if no CLI argument is provided for the question, and as the initial value in interactive mode.\n\n- `validate`: Function to validate user input. It should return `true` if the input is valid, `false` or a string with an error message if invalid:\n\n  ```ts\n  validate: (value) => {\n    if (value.length < 3) {\n      return 'Value must be at least 3 characters';\n    }\n\n    return true;\n  };\n  ```\n\n- `skip`: A boolean or function that returns a boolean or a promise containing boolean to conditionally skip the question. It should return `true` to skip, `false` otherwise:\n\n  ```ts\n  skip: async () => {\n    const answers = prompt.read();\n\n    return answers.drink !== 'coffee';\n  };\n  ```\n\n  If a question is skipped, the `required` option is ignored. If a `default` value is provided, it will be used as the answer.\n\n### Reading Current Answers\n\nThe current answers can be read at any time using `prompt.read()`. This is useful for implementing dynamic logic.\n\n```ts\nconst answers = prompt.read();\n```\n\n### Question Types\n\n#### Text\n\nText questions to allow users to enter text in an input field:\n\n```ts\n{\n  username: {\n    type: 'text',\n    description: 'Username',\n    message: 'Enter your username',\n  }\n}\n```\n\nUsage in CLI arguments:\n\n```sh\nmy-cli --username john\n```\n\n#### Select\n\nSingle-choice selection from a list of options.\n\n```ts\n{\n  drink: {\n    type: 'select',\n    description: 'Favorite drink',\n    message: 'Choose your drink',\n    choices: [\n      { title: 'Coffee', value: 'coffee' },\n      { title: 'Tea', value: 'tea' },\n    ],\n  }\n}\n```\n\nThe `choices` array contains objects with the following properties:\n\n- `title`: The display text for the option.\n- `description`: (Optional) Additional description for the option.\n- `value`: The value associated with the option that's used for the answer.\n- `skip`: A boolean or function that returns a boolean or a promise containing boolean to conditionally hide the choice:\n\nUsage in CLI arguments:\n\n```sh\nmy-cli --drink coffee\n```\n\n#### Multiselect\n\nMultiple-choice selection from a list of options.\n\n```ts\n{\n  fruits: {\n    type: 'multiselect',\n    description: 'Favorite fruits',\n    message: 'Select your favorite fruits',\n    choices: [\n      { title: 'Apple', value: 'apple' },\n      { title: 'Banana', value: 'banana' },\n      { title: 'Orange', value: 'orange' },\n    ],\n  }\n}\n```\n\nThe `choices` array contains objects with the following properties:\n\n- `title`: The display text for the option.\n- `description`: An optional description for the option.\n- `value`: The value associated with the option that's used for the answer.\n- `skip`: A boolean or function that returns a boolean or a promise containing boolean to conditionally hide the choice:\n\nUsage in CLI arguments:\n\n```sh\nmy-cli --fruits apple --fruits banana\n```\n\nAn empty array can be provided as:\n\n```sh\nmy-cli --fruits=\n```\n\n#### Confirm\n\nConfirmation questions for yes/no answers.\n\n```ts\n{\n  adult: {\n    type: 'confirm',\n    description: 'Age confirmation',\n    message: 'Are you over 18?',\n  }\n}\n```\n\nUsage in CLI arguments:\n\n```sh\nmy-cli --adult\n```\n\nThe argument can be prefixed with `no-` to indicate a negative response:\n\n```sh\nmy-cli --no-adult\n```\n\n#### Task\n\nAsynchronous task that performs an action. This is shown in both interactive and non-interactive modes.\n\nIt takes an async generator function which can yield a message to update the spinner text during execution.\n\n```ts\n{\n  data: {\n    type: 'task',\n    description: 'Load data',\n    message: 'Loading data...',\n    task: async function* () {\n      yield { message: 'Fetching from API...' };\n\n      const response = await fetch('https://api.example.com/data');\n      const data = await response.json();\n\n      yield { message: 'Processing...' };\n\n      // Process data...\n\n      return {\n        message: 'Data loaded successfully',\n        value: data,\n      };\n    },\n  }\n}\n```\n\n### Showing the Prompt\n\nAfter creating the prompt with `create()`, you can show it using the `show()` method.\n\n```ts\nconst result = await prompt.show({\n  name: 'my-cli',\n  description: 'A CLI tool',\n  version: '1.0.0',\n});\n```\n\nIt takes an options object with the following properties:\n\n- `name`: The name of the CLI application. Used in the help text with the `--help` flag.\n- `description`: A brief description of the CLI application. Shown in the help text with the `--help` flag.\n- `version`: The version of the CLI application. Shown with the `--version` flag.\n- `args`: An array of strings representing the command-line arguments. Defaults to `process.argv.slice(2)`.\n- `env`: An object representing the environment variables to read variables such as `CI`, `TERM`, etc. Defaults to `process.env`.\n- `stdin`: The readable stream to use for input. Defaults to `process.stdin`.\n- `stdout`: The writable stream to use for output. Defaults to `process.stdout`.\n- `onExit`: A callback function that is called when the prompt is exited (e.g., cancelled via <kbd>Ctrl+C</kbd>, or errored due to invalid arguments). Defaults to `(code) => process.exit(code)`.\n\nThe result is a promise that resolves to an object containing the answers, or `undefined` if the prompt was not shown (e.g. when `--help` or `--version` is passed).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}