Makes Windows-style paths more unix and URI friendly. Useful if you work with paths that eventually will be used in URLs.
var urix = require("urix") // On Windows: urix("c:\\users\\you\\foo") // /users/you/foo // On unix-like systems: urix("c:\\users\\you\\foo") // c:\users\you\foo
npm install urix
var urix = require("urix")
On Windows, replaces all backslashes with slashes and uses a slash instead of a drive letter and a colon for absolute paths.
On unix-like systems it is a no-op.
Makes Windows-style paths more unix and URI friendly.
The npm package urix receives a total of 16,647,428 weekly downloads. As such, urix popularity was classified as popular.
We found that urix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.