| 1 |
{ |
| 2 |
"_id": "urix", |
| 3 |
"_rev": "3-7aa540e202a191f23ee5b039279eb982", |
| 4 |
"name": "urix", |
| 5 |
"description": "Makes Windows-style paths more unix and URI friendly.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "0.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "urix", |
| 12 |
"version": "0.1.0", |
| 13 |
"author": { |
| 14 |
"name": "Simon Lydell" |
| 15 |
}, |
| 16 |
"license": "MIT", |
| 17 |
"description": "Makes Windows-style paths more unix and URI friendly.", |
| 18 |
"main": "index.js", |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git://github.com/lydell/urix" |
| 22 |
}, |
| 23 |
"keywords": [ |
| 24 |
"path", |
| 25 |
"url", |
| 26 |
"uri", |
| 27 |
"unix", |
| 28 |
"windows", |
| 29 |
"backslash", |
| 30 |
"slash" |
| 31 |
], |
| 32 |
"scripts": { |
| 33 |
"test": "jshint index.js test/ && mocha" |
| 34 |
}, |
| 35 |
"devDependencies": { |
| 36 |
"mocha": "^1.17.1", |
| 37 |
"jshint": "^2.4.4" |
| 38 |
}, |
| 39 |
"bugs": { |
| 40 |
"url": "https://github.com/lydell/urix/issues" |
| 41 |
}, |
| 42 |
"homepage": "https://github.com/lydell/urix", |
| 43 |
"_id": "[email protected]", |
| 44 |
"dist": { |
| 45 |
"shasum": "da937f7a62e21fec1fd18d49b35c2935067a6c72", |
| 46 |
"tarball": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz" |
| 47 |
}, |
| 48 |
"_from": ".", |
| 49 |
"_npmVersion": "1.4.4", |
| 50 |
"_npmUser": { |
| 51 |
"name": "lydell", |
| 52 |
"email": "[email protected]" |
| 53 |
}, |
| 54 |
"maintainers": [ |
| 55 |
{ |
| 56 |
"name": "lydell", |
| 57 |
"email": "[email protected]" |
| 58 |
} |
| 59 |
], |
| 60 |
"directories": {}, |
| 61 |
"deprecated": "Please see https://github.com/lydell/urix#deprecated" |
| 62 |
} |
| 63 |
}, |
| 64 |
"readme": "[](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", |
| 65 |
"maintainers": [ |
| 66 |
{ |
| 67 |
"name": "lydell", |
| 68 |
"email": "[email protected]" |
| 69 |
} |
| 70 |
], |
| 71 |
"time": { |
| 72 |
"modified": "2020-03-28T23:09:30.452Z", |
| 73 |
"created": "2014-03-01T21:02:32.481Z", |
| 74 |
"0.1.0": "2014-03-01T21:02:32.481Z" |
| 75 |
}, |
| 76 |
"homepage": "https://github.com/lydell/urix", |
| 77 |
"keywords": [ |
| 78 |
"path", |
| 79 |
"url", |
| 80 |
"uri", |
| 81 |
"unix", |
| 82 |
"windows", |
| 83 |
"backslash", |
| 84 |
"slash" |
| 85 |
], |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git://github.com/lydell/urix" |
| 89 |
}, |
| 90 |
"author": { |
| 91 |
"name": "Simon Lydell" |
| 92 |
}, |
| 93 |
"bugs": { |
| 94 |
"url": "https://github.com/lydell/urix/issues" |
| 95 |
}, |
| 96 |
"license": "MIT", |
| 97 |
"readmeFilename": "readme.md" |
| 98 |
} |