giron-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

giron-wasm

A WebAssembly module for parsing Javascript.

Usage

The easiest way to see how you can use giron-wasm is with the wasm-app template.

Just run npm init wasm-app and this will create a boilerplate wasm project for you.

Now you can install giron-wasm and import it like any normal npm package.

API

function parseScript(source: string) - Parses a string as a javascript script.

function parseModule(source: string) - Parses a string as a javascript module. Modules in javascript are parsed as strict mode code and allow import/export declarations.

Readme

Keywords

none

Package Sidebar

Install

npm i giron-wasm

Weekly Downloads

0

Version

0.2.3

License

MIT OR Apache-2.0

Unpacked Size

585 kB

Total Files

7

Last publish

Collaborators

  • blueblazin