stuff like exists(): Promise<boolean>, walk(): <string iterator>, and so on. they're buried around my projects.
one key is that whatever implementation should handle not having the fs import available. so maybe like @paperdave/utils/fs, or even a new package @paperdave/node, but i don't like having node as a package name as it would imply a lock in to node, which im not really ok with since i would rather focus on bun, but the apis i want to add don't depend on anything bun-specific.
stuff like
exists(): Promise<boolean>
,walk(): <string iterator>
, and so on. they're buried around my projects.one key is that whatever implementation should handle not having the
fs
import available. so maybe like@paperdave/utils/fs
, or even a new package@paperdave/node
, but i don't like havingnode
as a package name as it would imply a lock in to node, which im not really ok with since i would rather focus on bun, but the apis i want to add don't depend on anything bun-specific.