{"_id":"m-atm-machine","_rev":"6-0f04f10d9255bf6e046de095a0167d82","name":"m-atm-machine","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"name":"m-atm-machine","version":"1.0.0","author":"","license":"ISC","_id":"m-atm-machine@1.0.0","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"aa46a0a49c605bcf69f722dc49844c4cff204380","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-1.0.0.tgz","fileCount":5,"integrity":"sha512-WgJJQyCcpDPNN7vhhO1esWEzeDR+Mm3ZdJQMUfo1As4nuSgni2l+ybZlbJFXlUxCbJMzEa1mAEof7BJefsfcyA==","signatures":[{"sig":"MEUCIQDeh0gT3f77NUx8yUN+5wxhlPhlW7X0KO8E/AAM0+rHbgIgTFlLx0aPs7AS3+1SgKVz+Guzgt20t3+5RL5bdSvn/x8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25151},"main":"index.js","type":"module","gitHead":"b6fa8c55cc9f8efd20e7154cdc34d1e7dade959b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"m-atm-machine is a Node.js package that simulates an <abbr title=\"Automated Teller Machine\">ATM</abbr> machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transactio","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_1.0.0_1712058834450_0.524579945811094","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"m-atm-machine","version":"2.0.0","author":"","license":"ISC","_id":"m-atm-machine@2.0.0","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"0c32e721262fbd05a12b28c5544c3e790dc07cbc","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-2.0.0.tgz","fileCount":5,"integrity":"sha512-wx2AQy2WCBgCDHB30kq7cwdHApgP4Kyv4+dLimE5bOFQl6YNvSkO9xbzuj50hlDyr8hWCDsi3Pc2uSmb+Symyw==","signatures":[{"sig":"MEYCIQC+3dnApxUTdgd/jR7i8JsQauoFTsrwCkQwQqqsh7+fMwIhAMEQgMZvRvDnt62G5LnFakku4YuHFymkQ3pxs4uDW/VK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29165},"main":"index.js","type":"module","gitHead":"b6fa8c55cc9f8efd20e7154cdc34d1e7dade959b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"<!-- # m-atm-machine","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_2.0.0_1712059857073_0.23612676422524426","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"m-atm-machine","version":"2.0.1","author":"","license":"ISC","_id":"m-atm-machine@2.0.1","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"9fe0dfcb71ebfbc6704145383b882997b1887d7f","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-2.0.1.tgz","fileCount":5,"integrity":"sha512-pFFsqhdPsEb0HNSLksWKA9J90KoTSgJ23L7Q57n3tvto7kDTO4BDreAc9HyvPunwYO7dtxrqIFaDxe44LMu4Pg==","signatures":[{"sig":"MEQCIAVLTxl+lbgCkyu0TmeABFaed7xh+m/16yH1P45NNZGQAiBk27gJfA/QROfxTQfrks1SFWV3q7AKyOLyMnx84IXUqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29166},"main":"index.js","type":"module","gitHead":"64165e88ddc60c5d5b9365672a4e1134ca1c3bbf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"<!-- # m-atm-machine","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_2.0.1_1712061686091_0.8391778924176401","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"m-atm-machine","version":"2.0.2","author":"","license":"ISC","_id":"m-atm-machine@2.0.2","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"48c46dd39f3699ebee062a279efceb4f495e6303","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-2.0.2.tgz","fileCount":5,"integrity":"sha512-rer3qpZqt594aPnpJxXwwtpL/HVHwX/ELhazZNz9vqikJhTGI3X8HQniv1hJ5uZj0BXAxL/UiWO2c3xUeRcSwQ==","signatures":[{"sig":"MEYCIQDgNlHofCNHlr+u3tZbANmLd9TlRK3gEmGOUpW8nV1MqgIhAMOHDFfHBCpy9czxr/buzdAdyeiFzAoLA8IHILSwR3Du","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27313},"main":"index.js","type":"module","gitHead":"bccbe7c75dd7d19074d80c83e28c7ec071858bd6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"m-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_2.0.2_1712063612807_0.12249331382027306","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"m-atm-machine","version":"3.0.0","author":"","license":"ISC","_id":"m-atm-machine@3.0.0","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"ccc7c20e917ae0f95a7c9eaec3c38f0e7d270562","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-3.0.0.tgz","fileCount":5,"integrity":"sha512-ZZ0Kk707PtRFFag4Z3k9cYuzCKxY5LCn7L0h4vXDg6hX+S5bB5qw/YBOJs1XsvY8XoYaWuxp+agNtMWJb9rWAQ==","signatures":[{"sig":"MEUCIG9IoQ537OW1syiXt4aVfrpu0dEZgbMn4TD8LwKPbksAAiEAtHpF5GFnemn2VFDHqYkO9CUrVlaqY4CPjgfs2DDugVI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29071},"main":"index.js","type":"module","gitHead":"df982ffe7dbb392bda4ca022679b1653d257a2b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"m-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_3.0.0_1716805750291_0.596341989561922","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"m-atm-machine","version":"3.0.1","author":"","license":"ISC","_id":"m-atm-machine@3.0.1","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"bin":{"m-atm-machine":"index.js"},"dist":{"shasum":"9856a1772c21a54e63472e9f190c0fc12a553ab8","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-3.0.1.tgz","fileCount":5,"integrity":"sha512-qLUJr+V3b4SKHIqQjDKZbQMwxU6r/rSJj4uHRs3oo3LnNvJdfSuv2xq+ZnShaKOPWObS4Vsk3iSKcsgKWpZZaA==","signatures":[{"sig":"MEQCIELVFRgg1MEWtNoWvqMwF5hOdlJ2BWzP6XswLsQyqxKzAiBuRGbF1nRSqA80uZEufJJX2tINkLClOGxFF8gPLGC//A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29927},"main":"index.js","type":"module","gitHead":"df982ffe7dbb392bda4ca022679b1653d257a2b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"_npmVersion":"10.5.0","description":"m-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.17"},"_hasShrinkwrap":false,"devDependencies":{"@types/inquirer":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/m-atm-machine_3.0.1_1716806377714_0.9868128723715424","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"m-atm-machine","version":"3.0.3","description":"m-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.","main":"index.js","bin":{"m-atm-machine":"index.js"},"type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","dependencies":{"chalk":"^5.3.0","chalk-animation":"^2.0.3","inquirer":"^9.2.17"},"devDependencies":{"@types/chalk-animation":"^1.6.3","@types/inquirer":"^9.0.7"},"_id":"m-atm-machine@3.0.3","gitHead":"3f08cca157a5645144ea7d5eb1788949de34b64a","_nodeVersion":"20.11.1","_npmVersion":"10.8.1","dist":{"integrity":"sha512-B0hK/8jXASpjXwu1vSDAG24yNG5zE9HFpI33RyrOTlsdCHP4He6GpWauhnBNArzUuXArmH/fzlI8fzYSkBWQig==","shasum":"54317015507f58be6c93b73441fa4334d4552cfc","tarball":"https://registry.npmjs.org/m-atm-machine/-/m-atm-machine-3.0.3.tgz","fileCount":5,"unpackedSize":31170,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCxhh6/cCVBbC+9iuLa8EKeOpnOVgQQ0gsF5vtjoQ04gIhAOUWLCiJ4YFaehR62xSm7ol9HwEIswy24FyGreS30tKI"}]},"_npmUser":{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"},"directories":{},"maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/m-atm-machine_3.0.3_1720885727319_0.5481456381184648"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-02T11:53:54.449Z","modified":"2024-07-13T15:48:47.637Z","1.0.0":"2024-04-02T11:53:54.627Z","2.0.0":"2024-04-02T12:10:57.219Z","2.0.1":"2024-04-02T12:41:26.288Z","2.0.2":"2024-04-02T13:13:32.939Z","3.0.0":"2024-05-27T10:29:10.433Z","3.0.1":"2024-05-27T10:39:37.980Z","3.0.3":"2024-07-13T15:48:47.476Z"},"license":"ISC","description":"m-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.","maintainers":[{"name":"m-ahmad","email":"ahmedjawad1857@gmail.com"}],"readme":"\r\n# m-atm-machine\r\n\r\nm-atm-machine is a Node.js package that simulates an ATM machine. It allows users to perform various banking operations such as deposit, withdrawal, balance inquiry, making transactions, and viewing transaction history.\r\n\r\n## Users\r\n\r\nHere are the details of the initial users available in the system:\r\n\r\n- **Name**: Ahmad Jawad\r\n  - **PIN**: 1234\r\n  - **ID**: 9876\r\n\r\n- **Name**: Abu Hurairah\r\n  - **PIN**: 4321\r\n  - **ID**: 6789\r\n\r\n- **Name**: Naveed\r\n  - **PIN**: 5678\r\n  - **ID**: 8765\r\n\r\n- **Name**: Abdul Wahaj\r\n  - **PIN**: 9876\r\n  - **ID**: 2345\r\n\r\n## Installation\r\n\r\nYou can install m-atm-machine via npm:\r\n\r\n```bash\r\nnpm install -g m-atm-machine\r\n```\r\n\r\n## Usage\r\n\r\nTo start using the ATM machine, simply run the following command:\r\n\r\n```bash\r\nm-atm-machine\r\n```\r\n\r\nFollow the prompts to log in with your user ID and PIN. Once logged in, you'll be presented with a menu of options to choose from:\r\n\r\n1. **Deposit Money**: Add funds to your account.\r\n2. **Withdraw Money**: Withdraw cash from your account.\r\n3. **Check Balance**: View your current account balance.\r\n4. **Make Transaction**: Transfer money to another user.\r\n5. **View Transaction**: View your transaction history.\r\n6. **Change PIN**: Update your PIN.\r\n7. **Exit**: Exit the ATM machine.\r\n\r\nFollow the on-screen instructions to complete each operation.\r\n\r\n## Features\r\n\r\n- Secure login system with user ID and PIN authentication.\r\n- Randomly generated initial balance for each user.\r\n- Support for depositing, withdrawing, transferring money, and checking balance.\r\n- Transaction history to track previous transactions.\r\n- Change PIN functionality to update your PIN.\r\n- Easy-to-use interface with inquirer prompts.\r\n\r\n## Author\r\n\r\n[m-atm-machine](https://github.com/ahmedjawad1857/PIAIC-Batch-60/tree/main/TS-Q1/node-projects/project_02_atm_machine) was created by [Ahmed Jawad](https://github.com/ahmedjawad1857).\r\n\r\n---\r\n\r\n","readmeFilename":"readme.md"}