2024-04-22 15:44:37 +09:00
|
|
|
const { MessageHandler, instantiateNapiModuleSync, instantiateNapiModule } = require('@emnapi/core')
|
2024-01-17 01:57:29 +09:00
|
|
|
const { getDefaultContext } = require('@emnapi/runtime')
|
|
|
|
const { WASI } = require('@tybys/wasm-util')
|
|
|
|
|
2024-04-23 13:14:06 +09:00
|
|
|
const { createFsProxy, createOnMessage } = require('./fs-proxy.cjs')
|
|
|
|
|
2024-01-17 01:57:29 +09:00
|
|
|
module.exports = {
|
|
|
|
MessageHandler,
|
2024-04-22 15:44:37 +09:00
|
|
|
instantiateNapiModule,
|
2024-01-17 01:57:29 +09:00
|
|
|
instantiateNapiModuleSync,
|
|
|
|
getDefaultContext,
|
|
|
|
WASI,
|
2024-04-23 13:14:06 +09:00
|
|
|
createFsProxy,
|
|
|
|
createOnMessage,
|
2024-01-17 01:57:29 +09:00
|
|
|
}
|