New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wapc/codegen

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wapc/codegen

Code generators for waPC

  • 0.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

waPC Code Generators

This library provides the code generators for producing waPC modules using the Apex language.

Installation

Make sure you have the Apex CLI installed. Here are the instructions.

From your terminal, run:

apex install @wapc/codegen

Now you should see waPC project templates available.

apex list templates
+-----------------------+-------------------------------------+
| NAME                  | DESCRIPTION                         |
+-----------------------+-------------------------------------+
| ...                   | ...                                 |
| @wapc/assemblyscript  | AssemblyScript waPC module project  |
| @wapc/tinygo          | TinyGo waPC module project          |
| @wapc/rust            | Rust waPC module project          |
+-----------------------+-------------------------------------+

To create a new TinyGo waPC module, run:

apex new @wapc/tinygo hello-world
cd hello-world
make
ls -l build
-rwxr-xr-x  1 uname  staff  18454 Sep 19 14:56 hello-world.wasm

If you load the project in VS Code (code . from the terminal if VS code is in your path), a task will monitor the Apex interface definition for changes and regenerate boilerplate code.

Keywords

FAQs

Package last updated on 31 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc