This project is a tiny JavaScript runtime, directly inspired by Node.js. It is built in Rust and uses V8 Engine.
arg(String|Number) The string to be printed to the console.
callback(Function) The function to be executed repeatedly at each interval.interval(Number) The time, in milliseconds, between successive executions of the callback.
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 benull.data(String): The content of the file, returned as a string.
Returns (Object): Server
url(String): The address to which the HTTP request is directedoptions(Object): The configuration for an HTTP request containing the following properties:hostname(String): The server's domain or IP addressport(Number): The port number to connect to on the serverpath(String): The endpoint on the server for the requestmethod(String): The HTTP method to useheaders(Object): Optional, an object of request headers, with each key as a header name
port(Number): The port number to connect to on the serverhostname(String): The server's domain or IP address
Returns (HashMap<String, String>):
Returns (String): each entry consists of a header key pair value where the name of the header is the key and the value is the corresponding value
Returns (String): the HTP method used for the request
Deno
YouTube
Github
Docs
Personal
- YouTube Series
- Medium
- Blog Posts