Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

xtuc/wrangler-js-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wrangler-js-demo

Warning

Currently, and for expirementation purposes, wrangler-js is its own tool. However, we should make only one tool, which is wrangler. Some merging work is required.

Demos

Golang would also be possible using https://github.com/wasm-tool/golang.

wrangler-js

It uses Webpack to build the project and will run any loaders (c to wasm compiler with the emscripten loader for instance). If Wasm modules were generated during the build, wrangler-js will generate the corresponding Worker metadata.json, do some wiring and publish the worker code.

Usage

Go in the example directories, install dependecies npm i and run wrangler-js.

Don't forget to provide the keys in your environment:

  • CF_ACCOUNT_ID
  • CF_API_KEY
  • CF_ACCOUNT_EMAIL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published