Skip to content

reading synchronously a file from the file system

Notifications You must be signed in to change notification settings

sklinkusch/node-fs-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

node-fs-1

This command-line application was created by Stefan Klinkusch at Digital Career Institute in Berlin, Germany.

Features

It reads in the following data from its own package.json file:

  • name
  • version
  • number of dependencies
  • number of devDependencies
  • size of the node_modules folder (in the index, not the size of the contents)

Techniques

  • JavaScript
  • Node.js
    • file system manipulations (fs)

Manual

Setup of the package

  1. Clone the repository using git clone [email protected]:sklinkusch/node-fs-1.git (SSH) or git clone https://github.com/sklinkusch/node-fs-1 (HTTPS).
  2. Move into the directory node-fs-1 and run npm install or yarn.

Usage

Run node index.js. The output should be:

name: node-fs-1
version: 0.0.1
number of dependencies: 0
number of devDependencies: 1
node_modules: 4096 bytes

About

reading synchronously a file from the file system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published