normalize-path-sep
v0.1.1
Published
normalize path sep
Downloads
62
Readme
normalize-path-sep
normalize path sep
Install
$ npm install --save normalize-path-sep
Usage
const normalizePathSep = require('normalize-path-sep')
// macOS or linux
normalizePathSep('/path/to/file')
//=> /path/to/file
// Windows
normalizePathSep('/path/to/file')
//=> \\path\\to\\file
API
normalizePathSep(input)
input
Type: string
file path.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco