Closed shiqimei closed 1 year ago
/feature-request
I think it's duplicate of #102
I have a version of it working with Deno.
Example
import { createJsonTranslator } from "https://esm.sh/gh/keyreply/typechat@0.0.10/src/index.ts";
Code compare: https://github.com/microsoft/TypeChat/compare/main...keyreply:TypeChat:main
The NodeJS interactive mode is disabled. (not required for worker usage)
I have a version of it working with Deno.
Example
import { createJsonTranslator } from "https://esm.sh/gh/keyreply/typechat@0.0.10/src/index.ts";
Code compare: main...keyreply:TypeChat:main
The NodeJS interactive mode is disabled. (not required for worker usage)
Thanks @xumx for pointing this out!
Hi @steveluc ! Can we make typechat platform agnostic in the near future? Remove node.js built-in dependencies like
fs
module to make it run in the edge runtime or web browser without any concern.We can provide a higher level abstract layer or an adapter to let users provide
fs
implementation orreadFile
implementaiton to avoid dependency maybe?