run-llama / LlamaIndexTS

LlamaIndex in TypeScript

Home Page:https://ts.llamaindex.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remove `defaultFS` from parameters

himself65 opened this issue · comments

The reason for using defaultFS is to be compatible with different js environments (previously), but for now, we don't use this way for doing so, but use conditions in package.json to achieve this

FS is determined once we have js environment condition

For @llamaindex/env:

  • changing defaultFS -> fs

nodejs, deno, bun, react-server: node:fs
others(edge-light, workerd...): memfs