Server-side JS w/ Node.js

Server-side JS w/ Node.js

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

fs.appendFileSync

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (22)

Section 1

(22 cards)

fs.appendFileSync

Front

Adds content to a file. (blocking/synchronous)

Back

fs.mkdir

Front

Created a directory. (Non-blocking/Asynchronous)

Back

fs.readFileSync

Front

Reads the contents of a file. (blocking/synchronous)

Back

fs.mkdirSync

Front

Created a directory. (blocking/synchronous)

Back

Asynchronous (Non-Blocking)

Front

Code does not wait for the current line to execute before moving on to run the next line.

Back

fs.copyFile

Front

Copies a file. (Non-blocking/Asynchronous)

Back

fs.writeFileSync

Front

Creates a file in a directory. (blocking/synchronous)

Back

fs.unlinkSync

Front

deletes a file. (blocking/synchronous)

Back

fs Core Library

Front

Node's built-in module. Short for filesystem.

Back

Module

Front

The name for node.js libraries.

Back

fs.unlink

Front

deletes a file. (Non-blocking/Asynchronous)

Back

fs.existsSync

Front

Checks if a file or folder exists. (blocking/synchronous)

Back

fs.readFile

Front

Reads the contents of a file. (Non-blocking/Asynchronous)

Back

fs.appendFile

Front

Adds content to a file. (Non-blocking/Asynchronous)

Back

fs.writeFile

Front

Creates a file in a directory. (Non-blocking/Asynchronous)

Back

fs.exists

Front

Checks if a file or folder exists. (Non-blocking/Asynchronous)

Back

fs.copyFileSync

Front

Copies a file. (blocking/synchronous)

Back

Synchronous (Blocking)

Front

Code runs in sequential order. The program waits for the next line of code to finish executing before moving to the next line of code.

Back

CommonJS

Front

Server-side code doesn't use HTML files, this 'Core Library provides a way to access and include external libraries.

Back

fs.readdirSync

Front

Reads the content of a directory. (blocking/synchronous)

Back

fs.readdir

Front

Reads the content of a directory. (Non-blocking/Asynchronous)

Back

HTTP Core Library

Front

How node runs an HTTP server and supports backend applications.

Back