npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alpha_anas/atm-system

v1.0.0

Published

This ATM System application simulates basic ATM functionalities such as checking account balance, depositing money, withdrawing money, and exiting the system.

Downloads

1

Readme

ATM System

Application Walkthrough

This ATM System application simulates basic ATM functionalities such as checking account balance, depositing money, withdrawing money, and exiting the system.

Features

  1. Check Balance: View the current balance in your account.
  2. Deposit Money: Add a specified amount of money to your account.
  3. Withdraw Money: Withdraw a specified amount of money from your account.
  4. Exit: Exit the ATM system.

Run the Application on CLI:

npm i **\_\_\_**
npx ****\_****

when all the dependencies are successfully installed you can build and run the project using the below mentioned command : tsc && node index.js

Prerequisites

Before running the application, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/atm-system.git
    cd atm-system
  2. Install the dependencies:

    npm install

Usage

  1. Start the application:

    npm start
  2. Follow the on-screen prompts to interact with the ATM system.

User Guide

  1. Starting the ATM System:
    • Upon running the application, you will be presented with a menu of options.
  2. Options Menu:
    • 1. Check Balance: Displays the current balance in your account.
    • 2. Deposit Money: Prompts you to enter an amount to deposit. After entering the amount, your balance will be updated accordingly.
    • 3. Withdraw Money: Prompts you to enter an amount to withdraw. If the amount is available in your balance, it will be deducted. Otherwise, an error message will be displayed.
    • 4. Exit: Exits the ATM system.

Example Interaction

  1. Menu Display:

    Welcome to the ATM System
    1. Check Balance
    2. Deposit Money
    3. Withdraw Money
    4. Exit
  2. Checking Balance:

    Your current balance is $1000
  3. Depositing Money:

    Enter the amount to deposit: 200
    You have successfully deposited $200. Your new balance is $1200.
  4. Withdrawing Money:

    Enter the amount to withdraw: 500
    You have successfully withdrawn $500. Your new balance is $700.
  5. Exiting the System:

    Thank you for using the ATM System. Goodbye!

Development

Run/ Edit the Application on IDE:

    Clone or download the zip of the folder from : `LINK TO BE INSERTED HERE`
    `Then run the following commands to install the DEPENDENCIES : `

    ```
            tsc --init
            npm init -y
            npm install inquirer
            npm i --save-dev @types/inquirer

    ```

To contribute to the development of the ATM System:

  1. Fork the repository on GitHub.
  2. Clone your fork locally:
    git clone https://github.com/yourusername/atm-system.git
    cd atm-system
  3. Create a new branch for your feature or bugfix:
    git checkout -b feature-or-bugfix-name
  4. Make your changes and commit them:
    git add .
    git commit -m "Description of changes"
  5. Push your changes to your fork:
    git push origin feature-or-bugfix-name
  6. Create a pull request on GitHub.