Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.57 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.57 KB

API

console.log(arg)

Parameters:

  • arg (String|Number) The string to be printed to the console.

setTimeout(callback, delay)

setInterval(callback, delay)

Parameters:

  • callback (Function) The function to be executed repeatedly at each interval.
  • interval (Number) The time, in milliseconds, between successive executions of the callback.

fs.readFile(path, callback)

fs.writeFile(path, data, callback)

Parameters:

  • path (String): The file path to be read.
  • data (String): The content to write to the file.
  • callback (Function): A function that will be executed once the file is read. The callback takes two arguments:
    • error (String|Null): If an error occurs, this will contain the error message. Otherwise, it will be null.
    • data (String): The content of the file, returned as a string.

http.createServer()

http.request()

Resources

Deno

YouTube

Github

Docs

Personal

  • YouTube Series
  • Medium
  • Blog Posts