{"_rev":"5-1c26b954bf51e049a2f6bdd3944d4e4e","time":{"created":"2025-07-08T03:01:10.228Z","modified":"2025-07-08T03:01:10.782Z","1.0.1":"2024-04-04T17:33:41.130Z","1.0.2":"2025-07-08T02:45:13.318Z","1.0.3":"2025-07-08T03:01:10.480Z"},"_id":"@edeveloper132-ilyas/studentmanagementsystem","name":"@edeveloper132-ilyas/studentmanagementsystem","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@edeveloper132-ilyas/studentmanagementsystem","version":"1.0.3","description":"Student Management System ","main":"index.mjs","type":"module","keywords":["atm","banking","student","management","system","records","cli","terminal","console"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"tsc && node index.mjs"},"publishConfig":{"access":"public"},"bin":{"studentmanagementsystem":"index.mjs"},"repository":{"type":"git","url":"git+https://github.com/eDeveloper132/Student_Management_System.git"},"author":{"name":"Mohammad Ilyas"},"license":"MIT","dependencies":{"@edeveloper132-ilyas/atmsystem":"^1.0.14","@types/inquirer":"^9.0.7","chalk":"^5.3.0","inquirer":"^9.2.17"},"_id":"@edeveloper132-ilyas/studentmanagementsystem@1.0.3","gitHead":"d4738c62890c0454804f9ee2928f88770cf405f4","bugs":{"url":"https://github.com/eDeveloper132/Student_Management_System/issues"},"homepage":"https://github.com/eDeveloper132/Student_Management_System#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-HdlCpoiaj9zUnwujyN2n/cwwtbRcXa42vDqegH6ntzyclBNijGePgldiGLEqHFlQnh/7ot2JNERehqiJsnrRpA==","shasum":"b2f5b370c72c6cf503c6fdf71c5d8c37fe4e8a3c","tarball":"https://registry.npmjs.org/@edeveloper132-ilyas/studentmanagementsystem/-/studentmanagementsystem-1.0.3.tgz","fileCount":6,"unpackedSize":40409,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCiPL6gb5JyqFN0sYLNzC/HN950Aur7bsZlAvFItLsw4wIhAOdmE10X3NYdoTCaJU6uFIbqB3A/LR4E+OtCI9wuLwN8"}]},"_npmUser":{"name":"edeveloper132-ilyas","email":"1375219.aptechiic@gmail.com","actor":{"name":"edeveloper132-ilyas","email":"1375219.aptechiic@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"edeveloper132-ilyas","email":"1375219.aptechiic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/studentmanagementsystem_1.0.3_1751943670307_0.36438604397026975"},"_hasShrinkwrap":false}},"maintainers":[{"name":"edeveloper132-ilyas","email":"1375219.aptechiic@gmail.com"}],"description":"Student Management System ","homepage":"https://github.com/eDeveloper132/Student_Management_System#readme","keywords":["atm","banking","student","management","system","records","cli","terminal","console"],"repository":{"type":"git","url":"git+https://github.com/eDeveloper132/Student_Management_System.git"},"author":{"name":"Mohammad Ilyas"},"bugs":{"url":"https://github.com/eDeveloper132/Student_Management_System/issues"},"license":"MIT","readme":"# Student & ATM Management CLI\r\n\r\nA command‑line application that combines:\r\n\r\n* **Student Management System** – Add, update, and delete student records.\r\n* **ATM Simulation** – Check balance, deposit, withdraw, and more, via the `@edeveloper132-ilyas/atmsystem` package.\r\n\r\n---\r\n\r\n## 🚀 Features\r\n\r\n* **Add Student**: Collects B-Form/NIC, name, age, gender, and course, then validates eligibility and deducts fees.\r\n* **Update Student**: Modify any field (B-Form/NIC, name, age, gender, or course) with built‑in re‑validation for course changes.\r\n* **Delete Student**: Remove student records with confirmation.\r\n* **Use ATM**: Seamlessly switch to the ATM interface, then return to student menu on exit.\r\n\r\n---\r\n\r\n## 📦 Installation\r\n\r\nInstall globally via npm:\r\n\r\n```bash\r\nnpm install -g @edeveloper132-ilyas/studentmanagementsystem\r\n```\r\n\r\nOr clone the GitHub repository and run locally:\r\n\r\n```bash\r\ngit clone https://github.com/edeveloper132-ilyas/studentmanagementsystem.git\r\ncd studentmanagementsystem\r\nnpm install\r\n```\r\n\r\n> The CLI requires Node.js v14+.\r\n\r\n---\r\n\r\n## 💻 Usage\r\n\r\n### Global (npm)\r\n\r\n```bash\r\n# After global install, run:\r\nstudent-management-cli\r\n```\r\n\r\n### Local (source)\r\n\r\n```bash\r\n# Using npx:\r\nnpx ts-node student_atm_cli.ts\r\n\r\n# Or build to JS and run:\r\nnpm run build   # compiles TS to JS in /dist\r\nnode dist/student_atm_cli.js\r\n```\r\n\r\n---\r\n\r\n## 📝 Examples\r\n\r\n#### 1. Add a new student\r\n\r\n```bash\r\nWelcome to Ilyas School/College/University CLI\r\n\r\n? What would you like to do? (Use arrow keys)\r\n> Add Student\r\n  Update Student\r\n  Delete Student\r\n  Use ATM\r\n  Exit\r\n\r\n# Follow prompts:\r\n? Enter B‑Form/NIC: 1234567890123\r\n? Enter student name: Ali Khan\r\n? Enter age: 7\r\n? Select gender: male\r\n? Select course: I\r\n\r\nEnrolled in I! Fee of ₹250 deducted.\r\n\r\nStudent added successfully!\r\n\r\n--- 1 Students in System ---\r\n10000: Ali Khan (male, age 7) — I\r\n```\r\n\r\n#### 2. Use the ATM\r\n\r\n```bash\r\n? What would you like to do?  Use ATM\r\n\r\n--- ATM Menu ---\r\n1) Check Balance\r\n2) Withdraw\r\n3) Deposit\r\n4) Exit ATM\r\n\r\n# ...once you exit:\r\n🔄 Returning to Student Management Menu…\r\n```\r\n\r\n---\r\n\r\n## 📚 API Reference\r\n\r\nImport the core functions in your own scripts:\r\n\r\n```ts\r\nimport { ATM, getBalance, minusBalance, onExit } from \"@edeveloper132-ilyas/atmsystem\";\r\n```\r\n\r\n| Function               | Description                                               |\r\n| ---------------------- | --------------------------------------------------------- |\r\n| `ATM()`                | Launches the ATM prompt and handles transactions.         |\r\n| `getBalance()`         | Returns the current ATM balance.                          |\r\n| `minusBalance(amount)` | Deducts `amount` from the ATM balance.                    |\r\n| `onExit(callback)`     | Registers a callback to run when the ATM interface exits. |\r\n\r\n---\r\n\r\n## 🤝 Contributing\r\n\r\n1. Fork the repo.\r\n2. Create a new branch: `git checkout -b feature/YourFeature`.\r\n3. Commit your changes: `git commit -m \"Add YourFeature\"`.\r\n4. Push to your branch: `git push origin feature/YourFeature`.\r\n5. Open a Pull Request against `main`.\r\n\r\nPlease follow the existing code style and include tests where applicable.\r\n\r\n---\r\n\r\n## 🛡️ License\r\n\r\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) for details.\r\n\r\n---\r\n\r\n## 📫 Contact\r\n\r\nMuhammad Ilyas (edeveloper132-ilyas)\r\n\r\n* GitHub: [https://github.com/edeveloper132-ilyas](https://github.com/edeveloper132-ilyas)\r\n* NPM: [https://www.npmjs.com/\\~edeveloper132-ilyas](https://www.npmjs.com/~edeveloper132-ilyas)\r\n\r\n**Enjoy!**\r\n","readmeFilename":"Readme.md"}