{"name":"@inquirer/confirm","version":"1.0.1","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@1.0.1","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":"00598a6142bee9d9ccd39b39ccff5f2478f54ae6","tarball":"http://registry-npm.ywwl.com/@inquirer/confirm/download/@inquirer/confirm-1.0.1.tgz","fileCount":7,"integrity":"sha512-S0E3jaT1hRSeU7cCDXwuUP3JPVHw4VW2BXoro3CCmBvUdcpxsk0gABfTp/akWarU7I0NG+QEG8hWCGJlnVM4oQ==","signatures":[{"sig":"MEYCIQCBpu0d0l5T8IPZvQGixihKBaH8B5HCKRrO8iiwXfQTGAIhAIp86czupkOLnRIB45UKP47XHBPwqDcdtJxhIj0A8c0Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU8LsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmou2w//VjzvIRa4IsWIENnAL+yieu1gEz8BjHQGFAK6Bg+Bg6JevAFP\r\n8Z3eaiLCBFGlyD5W3hVf6fbfppyAhzpz/AdMFV25LUJ2l6zc3L1oHUV4NjeJ\r\nabA3xiRmecmP7UCQkOZSRwJFSFEu/KFJzIIRCurau5pU5OFZtsXBi2XlFh9m\r\njq+iwrEm64haAKwP/0CSTAWc8cWHajjTIXLB1svc1JYPxMEbBcUrUcsymds/\r\nqDhCxXOoDmT+U307rjCCMQV/l3CHuEJKuBxj6iXBgnrYLSlYI3k9VdQBfD9X\r\nCz1vCtazUIWXyDU0DBEeUAYS+pSXz7FE30rGmlaXkF2tClkrAzluEf58xk7f\r\nS+Mq4Tlo7KC8Y7l4a8E6nBKCh2E2Ag0FKPMG3MyTJIMbdrevvn5OLFJlnP2p\r\nvVVMrmMY3SE10+pzAZhlBD6FyODk0MR31MEDfCOVFFkbKRVPMNMK1kaK9t1R\r\niYotwXHkwo4vyNMz64PCklnx3ouTozCQysIShLalspHceUKPKC/01e1ha9ax\r\n1XCmvzg69apB2bMMPraL4yg7RR1pSHSYTwWU83ClfnJrsdxCVFFn7x8Tuyf8\r\ng/eIQ/o/3XJ185LU1uoU8bOS0gcE8EFq/HbKtuqZF8/qzWG4L+X2WwjP7mW8\r\nMMcMkEtP/DEkWZxyhfH7KkkvpZgubtZfoMU=\r\n=Q8uD\r\n-----END PGP SIGNATURE-----\r\n","size":2672,"noattachment":false,"key":"/@inquirer/confirm/-/@inquirer/confirm-1.0.1.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":"5b8563d850962ce48daba46e7e95e7285d581a56","scripts":{"tsc":"yarn run clean && yarn run tsc:esm && yarn run tsc:cjs","clean":"rm -rf dist","fix-ext":"ts-node ../../tools/rename-ext.mts","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.6.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.2","@inquirer/type":"^1.0.1","@inquirer/input":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confirm_1.0.1_1683210988333_0.10798945416126315","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":1683210988477,"_cnpm_publish_time":1683210988477,"dist-tags":{"latest":"6.4.0"}}