node-pathlib

A port of Python PEP 428, the pathlib module, to node

License: MIT Snyk: Security Score Code Style: prettier

Intro

node-pathlib is a port of the Python PEP 428, "The pathlib module" to NodeJS.

Justification

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

Documentation is available here.