1.0.1 • Published 4 years ago

safepath-cli v1.0.1

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
4 years ago

safepath-cli

Converts any string to safe Windows / Unix path based on the platform code runs.

Usage

Given Unix path it will convert it to Windows compatible path on Windows patform.

safepath-cli 'foo/bar'

will return:

foo\bar

Given Windows path it will convert it to Unix compatible path on Unix platform.

safepath-cli 'foo\bar'

will return:

foo/bar