FS ReadFile Flashcards
1
Q
What is a directory?
A
group files into separate collections
2
Q
What is a relative file path?
A
describes the location of a file relative to the current (working) directory
3
Q
What is an absolute file path?
A
makes no assumptions about your current location in relation to the location of the file or directory it’s describing
4
Q
What module does Node.js include for manipulating the file system?
A
fs module
5
Q
What method is available in the node:fs module for reading data from a file?
A
fs.readFile()