Skip to content

max-lt/test-js-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worker Runtime Environment for the OpenWorkers project

This repository contains the source code for the OpenWorkers project. OpenWorkers is a project that aims to provide a simple, easy to use, and secure platform for running code in the cloud. The project is currently in the early stages of development, and is not yet ready for production use.

Getting Started

Install rustup and cargo:

curl https://sh.rustup.rs -sSf | sh

Usage

Options

USAGE:
  rs-engine [filepath or eval script] [OPTIONS]

OPTIONS:
  --fetch   Trigger the fetch event

Examples

# Development
cargo run path/to/file.js
cargo run eval "console.log('Hello World!')"
# Build
./target/release/rs-engine path/to/file.js --fetch
./target/release/rs-engine eval "console.log('Hello World!')"

Building

Build a single file

cargo build --release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published