0.0.1 • Published 2 years ago
pthk v0.0.1
pthk
path kit. simply a nodejs path
module with additional method:
rectify(name)
: for a given relative pathname
:- return a trimmed path with special characters removed and relative paths such as
..
normalized. - always return a relative path instead of absolute path beginned with
/
.
- return a trimmed path with special characters removed and relative paths such as
Reference
node-sanitize-filename
: https://github.com/parshap/node-sanitize-filename
License
MIT
0.0.1
2 years ago