feat: init
This commit is contained in:
11
node_modules/oxc-parser/src-js/wasm.js
generated
vendored
Normal file
11
node_modules/oxc-parser/src-js/wasm.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export * from "@oxc-parser/binding-wasm32-wasi";
|
||||
import * as bindings from "@oxc-parser/binding-wasm32-wasi";
|
||||
import { wrap } from "./wrap.js";
|
||||
|
||||
export async function parse(...args) {
|
||||
return wrap(await bindings.parse(...args));
|
||||
}
|
||||
|
||||
export function parseSync(filename, sourceText, options) {
|
||||
return wrap(bindings.parseSync(filename, sourceText, options));
|
||||
}
|
||||
Reference in New Issue
Block a user