path-convert-js
v1.0.5
Published
A JavaScript tool to easily convert paths between DOS, Unix, and escaped formats
Maintainers
Readme
path-converter.js
This javascript tool permit to easily convert an input path to DOS, Unix, or DOS with backslashes-escaped output path
Usage
Here is the usage as descibed by the tool itself :
Usage: path-convert "path"
Methods: --escape : Escape backslashes in DOS --toUnix : Convert to Unix path --toDOS : Convert to DOS path
Examples: path-convert --toUnix "C:\Users\Username\Documents" path-convert --toDOS "/home/user/documents"
I hope this can help you!
Made for Hackclub's minus-twelve YSWS
