node-pathlib is a port of the Python PEP 428, "The pathlib module" to NodeJS.
The pathlib
module offers a natural, higher level API than that offerred by the node:path
and node:fs
native libraries. While it is not entirely possible to reproduce the pathlib module due to the lack of operator overloading in Javascript, this package did its best to represent accurately the interface
offered by its Python counterpart.
Documentation is available here.