{"_id":"@alpha_anas/05_currency_converter","_rev":"1-a94fb3d551f363658fff230be8111122","name":"@alpha_anas/05_currency_converter","description":"A currency converter application made in Typescript made using Inquirer module, chalk module and logical conditions","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@alpha_anas/05_currency_converter","version":"1.0.0","author":"","license":"ISC","_id":"@alpha_anas/05_currency_converter@1.0.0","maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"bin":{"05_currency_converter":"index.js"},"dist":{"shasum":"d4728af837fa7ec5917fa5458f8cdae6dac6efc8","tarball":"https://registry.npmjs.org/@alpha_anas/05_currency_converter/-/05_currency_converter-1.0.0.tgz","fileCount":5,"integrity":"sha512-jNdDjl1YlURg4HXc1LE1Fl2vK/9yMmQn+tFBtVIdtEIAiMdbNx0C3stsS6OIlU1PBY5MIQfmEbtecMVrkFEe6A==","signatures":[{"sig":"MEQCIDebnCOhngT5Ekf7vspyo/49uZTTMhqjTmqkHIUpiw1xAiAQG3jBZ9hMU+v1Z1vXkl7RUpaABEoYVCsj5+8OqKkC7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18554},"main":"index.js","type":"module","gitHead":"546edc5d904d6981c713962f8dd261dbb5230069","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"_npmVersion":"10.2.4","description":"A currency converter application made in Typescript made using Inquirer module, chalk module and logical conditions","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/05_currency_converter_1.0.0_1718730099668_0.797592783907221","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@alpha_anas/05_currency_converter","version":"1.0.1","description":"A currency converter application made in Typescript made using Inquirer module, chalk module and logical conditions","main":"index.js","publishConfig":{"access":"public"},"type":"module","bin":{"05_currency_converter":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","dependencies":{"inquirer":"^9.2.23"},"devDependencies":{"@types/inquirer":"^9.0.7"},"_id":"@alpha_anas/05_currency_converter@1.0.1","gitHead":"0c61c23647e87a3a49b5a893ec979695c153c998","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-J0JQQDpGWUxl1K5Jxj9i7M+6Fuk+lNhIIPvxkRF3WDtgFVjziRuwJr57lLWtWDncP7K8JnlInnmByFzhFrCfjw==","shasum":"4e48508e3c3f5d5c32e935de568431a6835dfa30","tarball":"https://registry.npmjs.org/@alpha_anas/05_currency_converter/-/05_currency_converter-1.0.1.tgz","fileCount":5,"unpackedSize":18577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+N5r6/vZmGmU0MtKnTwGsdAN3wg1uCku3A///jya6cAiBLvsTdZ1t0+s2T8IqS2bMOtLbFpud1RVSvaIrCokqCFw=="}]},"_npmUser":{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"},"directories":{},"maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/05_currency_converter_1.0.1_1718730182789_0.2837458410684268"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-18T17:01:39.606Z","modified":"2024-06-18T17:03:03.146Z","1.0.0":"2024-06-18T17:01:39.845Z","1.0.1":"2024-06-18T17:03:02.970Z"},"maintainers":[{"name":"alpha_anas","email":"muhd.anas70pe@gmail.com"}],"license":"ISC","readme":"# Currency Converter in Typescript\r\n\r\n# ATM System\r\n\r\n## Application Walkthrough\r\n\r\nA currency converter application made in Typescript made using Inquirer module, chalk module and logical conditions\r\n\r\n### Features\r\n\r\n1. **User Input**: \r\n2. **Input validtion**\r\n3. **Currency conversion**\r\n\r\n\r\n## Run the Application on CLI:\r\n\r\n```\r\nnpm i @alpha_anas/05_currency_converter\r\nnpx @alpha_anas/05_currency_converter\r\n\r\n(and the game will start running on your Command Prompt / Terminal)\r\n\r\n### Compiling and Running on IDE\r\n\r\nwhen all the [dependencies](#Prerequisites) (as mentioned below) are successfully installed you can build and run the project using the\r\nbelow mentioned command :\r\n`tsc && node index.js`\r\n\r\n### Prerequisites\r\n\r\nBefore running the application, ensure you have the following installed:\r\n\r\n- [Node.js](https://nodejs.org/)\r\n- [npm](https://www.npmjs.com/)\r\n\r\n### Installation\r\n\r\n1. **Clone the repository**:\r\n\r\n   ```\r\n   git clone https://github.com/AlphaAnas/Typescript-Projects-PIAIC-course.git\r\n   cd \"05_Currency_Converter\"\r\n   ```\r\n\r\n2. **Install the dependencies**:\r\n\r\n   ```\r\n   npm install (to install node modules folder)\r\n   npm install inquirer\r\n   npm i --save-dev @types/inquirer\r\n   tsc --init   (to install tsconfig.json)\r\n   npm init -y (to install package.json) (keep pressing enter to make a general tsconfig.json file)\r\n### Important changes to make (note I have already made this following changes for you, so you do not have to make the same, however remember to make the same in your own version)\r\n\r\n   ```\r\n   In tsconfig.json file on line No.:14 change the *target* to *ESNext* i.e. `\"target\": \"ESNext\"` \r\n   also tsconfig.json file on line No.:28 change the *module* to *NodeNext* i.e. `\"module\": \"NodeNext\"`\r\n   also tsconfig.json file on line No.:28 change the *moduleResolution* to *NodeNext* i.e. `\"moduleResolution\": \"NodeNext\"`\r\n\r\n   Then in package.json file on line No.:10 after ( \"main\": \"index.js\",) enter the following two lines\r\n   ```\r\n    \"bin\": \"index.js\",\r\n    \"type\": \"module\",\r\n   ```\r\n\r\n### Example Interaction\r\n\r\n1. **Menu Display**:\r\n\r\n   ```\r\n   Welcome to the Currency Converter APP\r\n   1. Input prompts user to select the currency to convert from.\r\n   2.  Input prompts user to select the currency to convert to.\r\n   3. Input then prompts the user the AMOUNT to convert\r\n   3a. (system validates the input in between)\r\n   4. Output is displayed in beautiful color output. \r\n   ```\r\n\r\n\r\n## Development\r\n\r\n### Run/ Edit the Application on IDE to add more options:\r\n\r\n        Clone or download the zip of the folder from : `https://github.com/AlphaAnas/12-Typescript-Projects-of-PIAIC-course/tree/main/05_Currency_Converter`\r\n        `Then run the following commands to install the DEPENDENCIES (if already not installed, however i have already installed and pushed the following for you in the repository): `\r\n\r\n        ```\r\n                tsc --init\r\n                npm init -y\r\n                npm install inquirer\r\n                npm i --save-dev @types/inquirer\r\n\r\n        ```\r\n\r\n","readmeFilename":"README.md"}