0.0.9 • Published 2 years ago

@mb-cli/format-path v0.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@mb-cli/format-path

mb-cli 的工具包,主要做路径兼容,当前为 MacOS 与 Windows 兼容。

用法

  • 安装
npm install @mb-cli/format-path
  • 使用
const formatPath = require('@mb-cli/format-path');
console.log(formatPath('/Users/xxx/Desktop/test'));
console.log(formatPath('C:\\Users\\xxx\\Desktop\\test'));
0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago