paperdave / various

Various libraries and applications related to TypeScript. Everything is contained in a monorepo to improve productivity and reduce boilerplate.
MIT License
31 stars 3 forks source link

utils: add `fs` utilities. #21

Closed paperdave closed 2 years ago

paperdave commented 2 years ago

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.