Skip to content

paij0se/api-deno-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Deno Compiler

Welcome to the API Deno Compiler! This API is designed to streamline the execution of your Deno code using the latest version and promptly deliver the output to you. With no limits per request, you have the flexibility to execute your code as needed without constraints.

Example Request

Endpoints

example with Deno

Endpoint: POST /code

const rawResponse = await fetch(
  "https://ad-c-9c338a775c74.herokuapp.com/code",
  {
    method: "POST",
    headers: {
      Accept: "application/json",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      code: `console.log(await fetch("https://google.com"))`,
    }),
  }
);
const content = await rawResponse.json();
console.log(content);

Endpoint: GET /code{ID}

example:

const rawResponse = await fetch(
  "https://ad-c-9c338a775c74.herokuapp.com/code/tkwryp",
  {
    method: "GET",
    headers: {
      Accept: "application/json",
      "Content-Type": "application/json",
    },
  }
);
const content = await rawResponse.json();
console.log(content);

About

An API that executes Deno.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published