Node FS readfile Flashcards

1
Q

What is a directory

A

The folder that holds the information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a relative file path?

A

The path to a directory relative to where you started

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an absolute file path?

A

the path to a directory from the root (always starts with a /);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What module does Node.js include for manipulating the file system?

A

Fs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What method is available in the node:fs module for reading data from a file?

A

Import (file/path , option(utf8))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly