{"maintainers":[{"name":"anonymous","email":"simon.lydell@gmail.com"}],"keywords":["path","url","uri","unix","windows","backslash","slash"],"dist-tags":{"latest":"0.1.0"},"author":{"name":"Simon Lydell"},"description":"Makes Windows-style paths more unix and URI friendly.","readme":"[![Build Status](https://travis-ci.org/lydell/urix.png?branch=master)](https://travis-ci.org/lydell/urix)\r\n\r\nOverview\r\n========\r\n\r\nMakes Windows-style paths more unix and URI friendly. Useful if you work with\r\npaths that eventually will be used in URLs.\r\n\r\n```js\r\nvar urix = require(\"urix\")\r\n\r\n// On Windows:\r\nurix(\"c:\\\\users\\\\you\\\\foo\")\r\n// /users/you/foo\r\n\r\n// On unix-like systems:\r\nurix(\"c:\\\\users\\\\you\\\\foo\")\r\n// c:\\users\\you\\foo\r\n```\r\n\r\n\r\nInstallation\r\n============\r\n\r\n`npm install urix`\r\n\r\n```js\r\nvar urix = require(\"urix\")\r\n```\r\n\r\n\r\nUsage\r\n=====\r\n\r\n### `urix(path)` ###\r\n\r\nOn Windows, replaces all backslashes with slashes and uses a slash instead of a\r\ndrive letter and a colon for absolute paths.\r\n\r\nOn unix-like systems it is a no-op.\r\n\r\n\r\nLicense\r\n=======\r\n\r\n[The X11 (“MIT”) License](LICENSE).\r\n","repository":{"type":"git","url":"git://github.com/lydell/urix"},"bugs":{"url":"https://github.com/lydell/urix/issues"},"license":"MIT","versions":{"0.1.0":{"name":"urix","version":"0.1.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"Makes Windows-style paths more unix and URI friendly.","main":"index.js","repository":{"type":"git","url":"git://github.com/lydell/urix"},"keywords":["path","url","uri","unix","windows","backslash","slash"],"scripts":{"test":"jshint index.js test/ && mocha"},"devDependencies":{"mocha":"^1.17.1","jshint":"^2.4.4"},"bugs":{"url":"https://github.com/lydell/urix/issues"},"homepage":"https://github.com/lydell/urix","_id":"urix@0.1.0","dist":{"shasum":"da937f7a62e21fec1fd18d49b35c2935067a6c72","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/urix/-/urix-0.1.0.tgz","integrity":"sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVwWlCojAranWBMPJB3AMh8YGkfy41kEuco7v9hWVRXAIgaVh6ecNBNaXf+pX3FRXFl3qMlW+JvFZPnaFrI3uMdeI="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"anonymous","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"anonymous","email":"simon.lydell@gmail.com"}],"directories":{},"deprecated":"Please see https://github.com/lydell/urix#deprecated"}},"name":"urix","time":{"modified":"2022-06-28T06:10:37.349Z","created":"2014-03-01T21:02:32.481Z","0.1.0":"2014-03-01T21:02:32.481Z"},"readmeFilename":"readme.md","homepage":"https://github.com/lydell/urix"}