Skip to content

MichaReiser/speedy.js-saas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speedy.js as a Service

Heroku Service for compiling TypeScript files to WebAssembly.

Compile Request

Post your files to https://speedyjs-saas.herokuapp.com/compile

{
  "files": [
    {
      "fileName": "fib.ts",
      "source": "async function test(value: int) { \"use speedyjs\";\n return value; }"
    }
  ],
  "tsconfig": {
    "saveWast": true
  }
}

The output differs depending on the specified tsconfig and speedy.js options.

[
  {
    "fileName": "fib.ts",
    "sourceMapText": "...",
    "wasm": [23, 45 ],
    "wast": "(module\n (type $0 ...",
    "js": "var __awaiter = ...\n",
    "exitStatus": 0,
    "diagnostics": []
  }
]

The schema for the request is located here.

Publish to Heroku

Run git push heroku master to push the local version to heroku.

About

Speedy.js compiler as a service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published