Coder Social home page Coder Social logo

file_handling_node's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– File Handling Node

This project is a node js console application that demonstrates various file handling operations. It shows how to read, write, edit, rename and delete files using the built-in fs module. It also uses readStream and writeStream to process large files in chunks, which improves performance and memory usage. Additionally, it includes a file init that creates and deletes directories using the fs.mkdir and fs.rmdir method

๐Ÿ›  Built With

Tech Stack

Key Features

Main features:

  • File handling operations using the fs module
  • Read and write large files in chunks using streams
  • Create directories using the fs.mkdir method
  • Delete directories using the fs.rmdir method
  • Error handling and logging using the console module

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

To run this project, you need the following prerequisites:

  • Node.js installed on your system
  • A text editor or IDE of your choice
  • A terminal or command prompt

Setup

To set up the project, follow these steps:

  • Clone or download the project repository from GitHub
  git clone https://github.com/shella12/File_handling_Node.git
  • Navigate to the project folder in your terminal or command prompt
  • Run npm install to install the dependencies

Run

To run the project, follow these steps:

  • In your terminal or command prompt, run node filename for example node server.js to start the application
  • Follow the instructions on the console to perform various file handling operations
  • To exit the application, press Ctrl+C

(back to top)

๐Ÿ‘ค Author

Ayesha

(back to top)

๐Ÿ”ญ Future Features

  • Add console UI

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project give it a star ๐Ÿ˜ƒ

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

file_handling_node's People

Contributors

shella12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.