Skip to content

akameco/normalize-path-sep

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published