{"_id":"@codeea/scanner","_rev":"3-2daae8cc1d1684bce0a42ec1f0de325f","name":"@codeea/scanner","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@codeea/scanner","version":"1.0.0","keywords":[],"author":{"name":"Cezar Augusto Mezzalira","email":"cezar.mezzalira@gmail.com"},"license":"MIT","_id":"@codeea/scanner@1.0.0","maintainers":[{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"}],"dist":{"shasum":"56c3fae80301ce9b88ec1d856e28aae5e69b91ec","tarball":"https://registry.npmjs.org/@codeea/scanner/-/scanner-1.0.0.tgz","fileCount":5,"integrity":"sha512-e07RsroOOfF+Uaw0vZjwY3pWRZmNVaygfYfoc8oCXp9ppc7RNNBlW0p8NFhfVs1MiWT6u6s9xsKvroArWOo06g==","signatures":[{"sig":"MEYCIQDl/CEHN4VM+jZyA4vbQ1tV2h/ggz/HFZSPaiZ1t1sI2gIhAJ8OMt/9yEmk/wEpBolot3iTUQb3jvWkeW3a2M1jPmnR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3118},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"},"_npmVersion":"10.9.0","description":"Package created to scan inputs from the user. Used only for educational purposes.","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/scanner_1.0.0_1732838266668_0.9664927142610398","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@codeea/scanner","version":"1.0.1","keywords":[],"author":{"name":"Cezar Augusto Mezzalira","email":"cezar.mezzalira@gmail.com"},"license":"MIT","_id":"@codeea/scanner@1.0.1","maintainers":[{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"}],"dist":{"shasum":"e803bcd9dc5b78ba54468764dd313168b6b05407","tarball":"https://registry.npmjs.org/@codeea/scanner/-/scanner-1.0.1.tgz","fileCount":6,"integrity":"sha512-zLHaPcl1GUhfyub+wATn1aDDug8E/Kzr5vhX96n5vUVEfAeQbe+w4+06sLDcDAefH/B3DRDNGGMpprEBs7BzBg==","signatures":[{"sig":"MEUCIQDxSmpUHHbjR7LEm+jV5yrRoWTotLynspNuLLsamllsJQIgM6xnnM/7PsBYFZxNAj5bCZDOuJKRMs6VhV6SoaYXNtI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3347},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"},"_npmVersion":"10.9.0","description":"Package created to scan inputs from the user. Used only for educational purposes.","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/scanner_1.0.1_1732838640160_0.974905569649827","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@codeea/scanner","version":"1.0.2","keywords":[],"author":{"name":"Cezar Augusto Mezzalira","email":"cezar.mezzalira@gmail.com"},"license":"MIT","_id":"@codeea/scanner@1.0.2","maintainers":[{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"}],"homepage":"https://github.com/codeea/scanner#readme","bugs":{"url":"https://github.com/codeea/scanner/issues"},"dist":{"shasum":"24ab1325363d846ddda43eec1533e0986fe1523a","tarball":"https://registry.npmjs.org/@codeea/scanner/-/scanner-1.0.2.tgz","fileCount":7,"integrity":"sha512-reUXJNdFmf7DohCTHRSdZzPoD43ecsqBkndue2KRbAJEy9Pgd7FH7VvNvYJQGUQDfkhh+dLJY3wFDY0hue8xQg==","signatures":[{"sig":"MEUCIQDG4VnvoZgRILa3gCWIeA44fKEpBUfdSviUSIQ/lCDbzgIgf7jjnlrxJo4cudellUfim3VsAoqEg1ajTD+9fPiYmk0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4419},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"11e0ce33e2f007073354806803afcb62f10cca56","scripts":{"build":"tsc"},"_npmUser":{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"},"repository":{"url":"git+https://github.com/codeea/scanner.git","type":"git"},"_npmVersion":"10.9.0","description":"Package created to scan inputs from the user. Used only for educational purposes.","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/scanner_1.0.2_1732839388566_0.19159522674731355","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@codeea/scanner","version":"1.0.3","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"keywords":[],"author":{"name":"Cezar Augusto Mezzalira","email":"cezar.mezzalira@gmail.com"},"license":"MIT","description":"Package created to scan inputs from the user. Used only for educational purposes.","repository":{"type":"git","url":"git+https://github.com/codeea/scanner.git"},"devDependencies":{"@types/node":"^22.10.1","typescript":"^5.7.2"},"_id":"@codeea/scanner@1.0.3","gitHead":"78d745aef01c01ff9bffacba7ce50199e8216772","bugs":{"url":"https://github.com/codeea/scanner/issues"},"homepage":"https://github.com/codeea/scanner#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-MTMAkhbuv9cdDMp2KPfCo+Z5l2eitEhekUmlHoSMqUGYVdNtG1ogbjtCauTHGwT+2KMM20zlflxEs/gaaLmehA==","shasum":"92e135dd8fc18854b7079f2a68fce28026aede06","tarball":"https://registry.npmjs.org/@codeea/scanner/-/scanner-1.0.3.tgz","fileCount":7,"unpackedSize":5380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICss8lXAJ3EqCW8cnmUfOaWHbVMptNE1P11a/vEBZaVzAiAXIc/QQfBq+k7XmlclLKehvx9HGbhftpiFKrctjHjRuQ=="}]},"_npmUser":{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"},"directories":{},"maintainers":[{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/scanner_1.0.3_1734026862062_0.5177820012450176"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-28T23:57:46.550Z","modified":"2024-12-12T18:07:42.426Z","1.0.0":"2024-11-28T23:57:46.858Z","1.0.1":"2024-11-29T00:04:00.368Z","1.0.2":"2024-11-29T00:16:28.730Z","1.0.3":"2024-12-12T18:07:42.237Z"},"bugs":{"url":"https://github.com/codeea/scanner/issues"},"author":{"name":"Cezar Augusto Mezzalira","email":"cezar.mezzalira@gmail.com"},"license":"MIT","homepage":"https://github.com/codeea/scanner#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/codeea/scanner.git"},"description":"Package created to scan inputs from the user. Used only for educational purposes.","maintainers":[{"name":"cezarmezzalira","email":"codeea.dev@gmail.com"}],"readme":"# PT-BR 🇧🇷\n\nBiblioteca Scanner - Entrada de dados via terminal (console) com suporte a TypeScript!\n\nEssa biblioteca foi criada para ser usada apenas com objetivos educacionais.\n\nFunções disponíveis:\n\n- `question()`: retorna apenas valores em texto (string)\n- `questionFloat()`: converte o texto em float e retorna um number\n- `questionInt()`: converte o texto em integer e retorna um number\n\nExemplo de utilização:\n\n```ts\nimport Scanner from \"@codeea/scanner\";\n\nconst main = async () => {\n  const scanner = new Scanner();\n  for (let index = 0; index < 10; index++) {\n    const name = await scanner.question(`${index + 1} - What is your name? `);\n    console.log(`Hello ${name}!`);\n  }\n  scanner.close();\n};\n\nmain();\n\n```\n\n# EN\n\nScanner Library - Input data via terminal (console) with TypeScript support!\n\nThis library was created for educational purposes only.\n\nAvailable functions:\n\n- `question()`: returns only text (string) values\n- `questionFloat()`: converts the text to float and returns a number\n- `questionInt()`: converts the text to integer and returns a number\n\nExample of use:\n\n```ts\nimport Scanner from \"@codeea/scanner\";\n\nconst main = async () => {\n  const scanner = new Scanner();\n  for (let index = 0; index < 10; index++) {\n    const name = await scanner.question(`${index + 1} - What is your name? `);\n    console.log(`Hello ${name}!`);\n  }\n  scanner.close();\n};\n\nmain();\n\n```\n","readmeFilename":"README.md"}