Skip to content

haotran-california/rust_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published