0.1.1 • Published 6 years ago

normalize-path-sep v0.1.1

Weekly downloads
13
License
MIT
Repository
github
Last release
6 years ago

normalize-path-sep

Build Status tested with jest styled with prettier All Contributors

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):

akameco💻 📖 ⚠️ 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco