[SOLVED] Does purescript-pathy-node-fs exist?

I want to have a library like purescript-node-fs , but with safe GitHub - purescript-contrib/purescript-pathy: A type-safe abstraction for platform-independent file system paths. types

Did anyone work on this already?

P.S.
TODO:

  1. also would like to make a pathy wrapper for purescript-node-glob/src/Node/Glob.purs at master · rintcius/purescript-node-glob · GitHub or purescript-halogen-nextjs/packages/src/RecursiveReaddirAsync.js at master · srghma/purescript-halogen-nextjs · GitHub

I don’t think that it is generally a good idea to try to make a complete wrapper for node-fs/path libs. Projects that need FS level type-safety will use their own add-hoc wrappers for particular scopes and needs.

1 Like

well, I did it

going to use in a rewrite of faker (uses parser to convert rb to purs) purescript-faker/test/Test/Main.purs at experiment · srghma/purescript-faker · GitHub

and in GitHub - srghma/purescript-tidy-module-name (which will be a rewrite of GitHub - srghma/purs-utils and will publish on npm)