Speed up development with full-stack environments for every branch.

Learn More

Read files on the file system [Node.js]

1032 Runs 2069 Views 254 Copies
Saved

Saved

sundip 66

sundip
published 4 years ago


  
  

Read files on file system

A code example that demonsrates how to read files on the file system using node.js.

Project contents

  • server.js - contains the node.js code used to read a file and serve up via

            a http server
  • index.html - html and css that is read by the node.js app

  • package.json - holds various metadata relevant to the project such as

               identifying dependencies
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).