NODE FS READFILE Flashcards

1
Q

What is a directory?

A

Directory is a storage that contains files cd excercisename

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

What is a relative file path?

A

It starts at your current directory and never starts with a /What is an absolute file path?
relative to current path

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

What is Absolute file path

A

a complete path from start of actual filesystem from / directory

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 does fs.readfile read?

A

Can read modules html

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