{"name":"@inquirer/confirm","version":"0.1.0","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/confirm@0.1.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"danielchatfield","email":"chatfielddaniel@gmail.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/master/packages/confirm/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"c3fa4ca977a3b57e02e10581e1f823b65c2872ee","tarball":"http://registry-npm.ywwl.com/@inquirer/confirm/download/@inquirer/confirm-0.1.0.tgz","fileCount":7,"integrity":"sha512-Ok9OteTNql0KZ5iw2DAaxwdyjrNTLq5DF9fp48tTCBv0fjx6lAMr43i8P2mm7AUhgmY6hZcrGYNsjtgHPKrV+Q==","signatures":[{"sig":"MEYCIQCqpC1rYW/jUkNVsjrMmYhRRkCIGvT/frIHDkxoEtZbQAIhAMEkHkZty2epdYNdxWxw4afKQq/cMPC1jzGa6Er7UqhY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFe5LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJHA//d8Sfy7kzlsuFuD/V4/MAsjQqMzc/W4bq1OGD2fDIM9DfSliZ\r\nlpUClxE5y93u8P5UQ14h5d6x/2m/Q5JRYBDZ0I0ZFkSQKy+SO6z9bXYcQvih\r\np6p/NWyloVjpgTvcTpz+BZsmywuwQ3bBRJBt38VHP/fnZHmkBQWg/pE8ZimJ\r\nvy6mRsvGhTr9R+GTkR1D1pjxNokl4I0Z3HK7FKKqTB2oF/QePSS2eLHhWiW5\r\nIJnNTo9KXWqs7wk5eLSeWbl4ofBegfig/KJr/+WqaQzNNbok6GVsCQEQIaDL\r\n/HMikguYsDcvZT5ohwjXXgmWVT+hUgUJhNzIro1bH2w2GU6WFihk/cisoQ/Y\r\nPk0orT7BnXAPfLssUFYVE5s4tXABEPL48QYbGyQzCUFdX0erfQ8Id/NjVt9F\r\nTb87WD/t1YN/avch2aBuiJCJTPqCKhtqsrWzXM93vtR34yuxtEsaP28aoXEJ\r\nunsjRJ252DthQ8gcJvRuh1yarG8Mf0fIYTFnqf2ceuE73tY+xAmmpinWSf+6\r\nwnju1mjS3GVndUmv8FkL/KdhdfFbJX2lyLkrCSRU9OXRuqWsPmG1RAcZ9Pyf\r\nEhJmWBUjRbKaBZ60sH+r22BIIWp43BIrFckLCKKjvYuODgjRa6wHdI8Jg35Z\r\n+UJADl1+q5MwyGxWrysdr0W/YZs+xbK7WQ8=\r\n=x6th\r\n-----END PGP SIGNATURE-----\r\n","size":2668,"noattachment":false,"key":"/@inquirer/confirm/-/@inquirer/confirm-0.1.0.tgz"},"main":"./dist/cjs/index.js","engines":{"node":">=14.18.0"},"exports":{".":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.mts","default":"./dist/cjs/index.js"}}},"gitHead":"bd58130dd8204945a31b062070b829003b8385fc","scripts":{"tsc":"yarn run clean && yarn run tsc:esm && yarn run tsc:cjs","clean":"rm -rf dist","fix-ext":"ts-node ../../tools/rename-ext.ts","tsc:cjs":"tsc -p ./tsconfig.cjs.json && yarn run fix-ext","tsc:esm":"tsc -p ./tsconfig.esm.json"},"typings":"./dist/cjs/types/index.d.mts","_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/6.5.1/node@v16.17.1+arm64 (darwin)","description":"Inquirer confirm prompt","directories":{},"_nodeVersion":"16.17.1","dependencies":{"chalk":"^5.2.0","@inquirer/core":"^1.0.0","@inquirer/type":"^0.1.0","@inquirer/input":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confirm_0.1.0_1679158859158_0.6895711713390609","host":"s3://npm-registry-packages"},"readme":"# `@inquirer/confirm`\n\nSimple interactive command line prompt to gather boolean input from users.\n\n![Confirm prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/confirm.svg)\n\n# Installation\n\n```sh\nnpm install @inquirer/confirm\n\nyarn add @inquirer/confirm\n```\n\n# Usage\n\n```js\nimport confirm from '@inquirer/confirm';\n\nconst answer = await confirm({ message: 'Continue?' });\n```\n\n## Options\n\n| Property    | Type                    | Required | Description                                             |\n| ----------- | ----------------------- | -------- | ------------------------------------------------------- |\n| message     | `string`                | yes      | The question to ask                                     |\n| default     | `boolean`               | no       | Default answer (true or false)                          |\n| transformer | `(boolean) => string`   | no       | Transform the prompt printed message to a custom string |\n| theme       | [See Theming](#Theming) | no       | Customize look of the prompt.                           |\n\n## Theming\n\nYou can theme a prompt by passing a `theme` object option. The theme object only need to includes the keys you wish to modify, we'll fallback on the defaults for the rest.\n\n```ts\ntype Theme = {\n  prefix: string;\n  spinner: {\n    interval: number;\n    frames: string[];\n  };\n  style: {\n    answer: (text: string) => string;\n    message: (text: string) => string;\n    defaultAnswer: (text: string) => string;\n  };\n};\n```\n\n# License\n\nCopyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>\nLicensed under the MIT license.\n","publish_time":1679158859308,"_cnpm_publish_time":1679158859308,"dist-tags":{"latest":"6.4.0"}}