normalize path sep
$ npm install --save normalize-path-sep
const normalizePathSep = require('normalize-path-sep')
// macOS or linux
normalizePathSep('/path/to/file')
//=> /path/to/file
// Windows
normalizePathSep('/path/to/file')
//=> \\path\\to\\file
Type: string
file path.
Thanks goes to these wonderful people (emoji key):
akameco 💻 📖 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT © akameco